Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0009297/0.0009297, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009677/0.0009677, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 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 0.9497/0.9497, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1305/0.1305, allocations: 34.26 MB / 296.9 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 3.938 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.418e-05, allocations: 5.547 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001742/0.001757, allocations: 1.697 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007001/0.002457, allocations: 0.5724 MB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.002514, allocations: 4 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.002888, allocations: 455.1 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.003212, allocations: 299.1 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.003504, allocations: 175.5 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.003681, allocations: 183.6 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.003762, allocations: 16.22 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.003841, allocations: 127.8 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.003982, allocations: 247.6 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.003996, allocations: 4 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.289e-05/0.004069, allocations: 51.92 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.004136, allocations: 91.64 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.004167, allocations: 39.73 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.004325, allocations: 223 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-06/0.004326, allocations: 0 / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004326, allocations: 0 / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.004331, allocations: 0 / 383.5 MB, free: 19.24 MB / 314.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.0003795/0.004711, allocations: 0.7086 MB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.004739, allocations: 12.03 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.004782, allocations: 44.66 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.004916, allocations: 256.8 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.004924, allocations: 4.375 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.004939, allocations: 4.375 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.913e-05/0.005018, allocations: 62.94 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005027, allocations: 4.141 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.005034, allocations: 4.125 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.00504, allocations: 7.984 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.005063, allocations: 11.88 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.005308, allocations: 352.2 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.005414, allocations: 55.06 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.00543, allocations: 11.69 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.005444, allocations: 7.938 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.005456, allocations: 33.39 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.005457, allocations: 0 / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004541/0.005911, allocations: 265.5 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.005929, allocations: 55.41 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.006174, allocations: 0.6079 MB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.00618, allocations: 29.64 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.006277, allocations: 306.6 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.006299, allocations: 39.67 kB / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.006327, allocations: 31.36 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.0064, allocations: 0.5585 MB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.006417, allocations: 11.98 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.006435, allocations: 19.98 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.006476, allocations: 43.61 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.006477, allocations: 0 / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.934e-05/0.006566, allocations: 113.4 kB / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.006577, allocations: 10.33 kB / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.00658, allocations: 0 / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.006588, allocations: 0 / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.006644, allocations: 27.92 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.006647, allocations: 0 / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.006677, allocations: 8 kB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006683, allocations: 8 kB / 387.1 MB, free: 15.36 MB / 314.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 (11): * Single equations (assignments): 11 * 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 5.012e-05/0.006733, allocations: 160.5 kB / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.006764, allocations: 51.67 kB / 387.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.006888, allocations: 137.8 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00689, allocations: 0 / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006891, allocations: 0 / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006894, allocations: 3.984 kB / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.007158, allocations: 473 kB / 387.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007159, allocations: 0 / 387.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.007203, allocations: 28.05 kB / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007205, allocations: 0 / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.007211, allocations: 4 kB / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007212, allocations: 0 / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007213, allocations: 0 / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.541e-05/0.007308, allocations: 299 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.007327, allocations: 39.67 kB / 388.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.007342, allocations: 4 kB / 388.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.007389, allocations: 11.98 kB / 388.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.007415, allocations: 15.92 kB / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.007419, allocations: 4 kB / 388.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.007553, allocations: 394.7 kB / 388.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007553, allocations: 0 / 388.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.007721, allocations: 35.94 kB / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008321/0.008553, allocations: 426.7 kB / 389.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.008637, allocations: 47.66 kB / 389.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.008638, allocations: 3.938 kB / 389.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.008667, allocations: 43.59 kB / 389.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.00888, allocations: 41.02 kB / 389.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.009344, allocations: 0.6367 MB / 389.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.009398, allocations: 135.1 kB / 390.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.702e-05/0.009435, allocations: 16.48 kB / 390.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.009483, allocations: 86.19 kB / 390.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009484, allocations: 0 / 390.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of Templates: time 0.003567/0.01305, allocations: 2.008 MB / 392.2 MB, free: 10.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.090570037253201]