Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 92.33 kB / 20.95 MB, free: 3.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002117/0.002117, allocations: 169.2 kB / 24.27 MB, free: 284 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3684/0.3684, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.13e-05, allocations: 2.312 kB / 377.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003786/0.003818, allocations: 1.666 MB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.005165, allocations: 0.5413 MB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.005261, allocations: 4 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007522/0.006014, allocations: 451.1 kB / 380 MB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.006698, allocations: 295.3 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.007138, allocations: 135.5 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.007639, allocations: 175.5 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.007743, allocations: 8 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.007994, allocations: 127.8 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.008367, allocations: 243.5 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.008394, allocations: 4 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.008542, allocations: 51.92 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.00868, allocations: 83.69 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.008744, allocations: 35.75 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.0092, allocations: 255 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.009205, allocations: 0 / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.009206, allocations: 3.938 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.009217, allocations: 0 / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009785/0.01019, allocations: 0.5815 MB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.01025, allocations: 12.03 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.01039, allocations: 48.66 kB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.01078, allocations: 242 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.0108, allocations: 4.375 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.01083, allocations: 384 / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.01104, allocations: 62.17 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.01105, allocations: 192 / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.01107, allocations: 8.125 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.01107, allocations: 4 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.0112, allocations: 31.91 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.01185, allocations: 340.3 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.012, allocations: 46.5 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.569e-05/0.01207, allocations: 16.94 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.0121, allocations: 0 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.01213, allocations: 34.56 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.01214, allocations: 0 / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001195/0.01333, allocations: 324.7 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.01338, allocations: 51.41 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.01445, allocations: 0.8574 MB / 384 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.01448, allocations: 29.7 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.01469, allocations: 216 kB / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.01473, allocations: 27.8 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.01478, allocations: 17.72 kB / 384.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.01502, allocations: 370.7 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.01511, allocations: 23.98 kB / 384.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.01519, allocations: 23.98 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.01536, allocations: 60.83 kB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01536, allocations: 0 / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002885/0.01565, allocations: 141.3 kB / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.01567, allocations: 4 kB / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.01568, allocations: 11.98 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.0157, allocations: 0 / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.01582, allocations: 20 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.01583, allocations: 3.984 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.01591, allocations: 4 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.01592, allocations: 0 / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.01615, allocations: 221.7 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.01624, allocations: 43.72 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.01661, allocations: 165.4 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01661, allocations: 4 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01662, allocations: 0 / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01662, allocations: 0 / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.01733, allocations: 450.8 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01733, allocations: 0 / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.0174, allocations: 19.92 kB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.01741, allocations: 0 / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.01742, allocations: 8.031 kB / 385.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01742, allocations: 480 / 385.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.01742, allocations: 3.938 kB / 385.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.01778, allocations: 248 kB / 386.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.01783, allocations: 31.72 kB / 386.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.01786, allocations: 3.984 kB / 386.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.01795, allocations: 4 kB / 386.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.018, allocations: 11.92 kB / 386.1 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.01801, allocations: 8 kB / 386.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007829/0.01879, allocations: 0.6511 MB / 386.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01879, allocations: 0 / 386.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.01909, allocations: 24 kB / 386.8 MB, free: 9.156 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00227/0.02136, allocations: 0.4915 MB / 387.3 MB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.02161, allocations: 63.89 kB / 387.4 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02161, allocations: 0 / 387.4 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.02172, allocations: 39.91 kB / 387.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.02217, allocations: 25.97 kB / 387.4 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.02371, allocations: 0.8354 MB / 388.3 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.02399, allocations: 232 kB / 388.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.02405, allocations: 13.03 kB / 388.5 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.0241, allocations: 16.48 kB / 388.5 MB, free: 7.605 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0241, allocations: 0 / 388.5 MB, free: 7.605 MB / 362.7 MB Notification: Performance of Templates: time 0.005947/0.03005, allocations: 1.594 MB / 390.1 MB, free: 6.027 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.801954096998088]