Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.0008808/0.0008808, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008836/0.0008836, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9013/0.9013, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.234/0.234, allocations: 34.25 MB / 296.1 MB, free: 0.7188 MB / 266.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.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.525e-05, allocations: 3.078 kB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.00311/0.003135, allocations: 1.711 MB / 327 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008647/0.004, allocations: 0.8026 MB / 327.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.004039, allocations: 0 / 327.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.004286, allocations: 23.84 kB / 327.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.00451, allocations: 55.69 kB / 327.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.967e-06/0.004514, allocations: 4 kB / 327.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.004654, allocations: 40.28 kB / 327.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.004694, allocations: 4 kB / 327.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.004778, allocations: 7.984 kB / 327.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.92e-05/0.004807, allocations: 15.92 kB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.004817, allocations: 0 / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.004e-05/0.004867, allocations: 15.98 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.004912, allocations: 15.94 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.00493, allocations: 4 kB / 327.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.005057, allocations: 59.64 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.00506, allocations: 4 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005061, allocations: 0 / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.005064, allocations: 0 / 328 MB, free: 4.926 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003041/0.005368, allocations: 266.1 kB / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.005401, allocations: 12.03 kB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.00543, allocations: 4.938 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.005575, allocations: 117.7 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.005587, allocations: 4.312 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.005602, allocations: 8.359 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.005738, allocations: 96.95 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.005747, allocations: 192 / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.005755, allocations: 4.375 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/0.005807, allocations: 28.3 kB / 328.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.005847, allocations: 31.8 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.006339, allocations: 0.7678 MB / 329.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.006412, allocations: 169.1 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.006438, allocations: 80.14 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.006461, allocations: 79.28 kB / 329.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.006506, allocations: 113.9 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/0.006508, allocations: 3.984 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.204e-05/0.00657, allocations: 37.69 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.006625, allocations: 126.7 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.006758, allocations: 177 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.006767, allocations: 25.7 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.006844, allocations: 147.5 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.006849, allocations: 4 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.006901, allocations: 45.64 kB / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.006991, allocations: 314.8 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.007014, allocations: 15.98 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.7e-05/0.007111, allocations: 141 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.007263, allocations: 175.8 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.007266, allocations: 0 / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002088/0.007475, allocations: 141.2 kB / 331.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.007492, allocations: 10.34 kB / 331.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.007501, allocations: 4 kB / 331.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.007517, allocations: 7.938 kB / 331.1 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.007632, allocations: 36.61 kB / 331.1 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.007641, allocations: 15.86 kB / 331.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.007719, allocations: 23.89 kB / 331.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.007731, allocations: 8 kB / 331.2 MB, free: 1.418 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.662e-05/0.007827, allocations: 203.8 kB / 331.4 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.007883, allocations: 105 kB / 331.5 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.007937, allocations: 116.7 kB / 331.6 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/0.007989, allocations: 180.3 kB / 331.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.98e-05/0.008049, allocations: 184.3 kB / 332 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.606e-05/0.008105, allocations: 192.2 kB / 332.2 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.008292, allocations: 325.9 kB / 332.5 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.554e-05/0.008337, allocations: 104.9 kB / 332.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.008368, allocations: 105 kB / 332.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-05/0.008418, allocations: 188.1 kB / 332.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/0.008473, allocations: 180.3 kB / 333 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.926e-05/0.008523, allocations: 176.3 kB / 333.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.593e-05/0.008579, allocations: 192.2 kB / 333.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.008692, allocations: 307.7 kB / 333.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.008736, allocations: 112.9 kB / 333.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.008799, allocations: 184.2 kB / 334 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.008875, allocations: 105 kB / 334.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.008931, allocations: 180.3 kB / 334.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.008966, allocations: 108.9 kB / 334.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.714e-05/0.009013, allocations: 34.34 kB / 334.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009013, allocations: 0 / 334.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002868/0.0093, allocations: 19.95 kB / 334.4 MB, free: 14 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0007175/0.01002, allocations: 296.2 kB / 334.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.01012, allocations: 61.84 kB / 334.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.01013, allocations: 4.062 kB / 334.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.552e-06/0.01013, allocations: 0 / 334.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.01041, allocations: 463.7 kB / 335.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.01072, allocations: 231.8 kB / 335.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.454e-05/0.01078, allocations: 75.77 kB / 335.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.122e-05/0.01085, allocations: 13.14 kB / 335.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.0109, allocations: 59.38 kB / 335.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0109, allocations: 0 / 335.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of Templates: time 0.003045/0.01395, allocations: 0.7854 MB / 336.4 MB, free: 12.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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: 2.7048600567504764]