Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.00143/0.00143, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001634/0.001634, allocations: 161 kB / 24.55 MB, free: 20 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 0.9805/0.9805, allocations: 177.1 MB / 205 MB, free: 5.621 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.2636/0.2636, allocations: 34.26 MB / 295.7 MB, free: 0.7852 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.812e-05, allocations: 2.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002991/0.003019, allocations: 1.72 MB / 379.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.004024, allocations: 0.553 MB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.004095, allocations: 4 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.004681, allocations: 451.1 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.005206, allocations: 299.2 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.005565, allocations: 139.4 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.005835, allocations: 175.7 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.005941, allocations: 16.22 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.00612, allocations: 131.6 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.006394, allocations: 235.6 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.006417, allocations: 7.938 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.006553, allocations: 55.91 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.00667, allocations: 79.72 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.006724, allocations: 47.73 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.007035, allocations: 219 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.007037, allocations: 0 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007038, allocations: 0 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.007044, allocations: 0 / 382.2 MB, free: 14.52 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.0005509/0.007594, allocations: 0.7009 MB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.00763, allocations: 12.03 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.007687, allocations: 44.66 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.007866, allocations: 252.8 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.007876, allocations: 8.312 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.0079, allocations: 8.375 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.008014, allocations: 62.94 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.008022, allocations: 192 / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.008033, allocations: 12.12 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.00804, allocations: 0 / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.581e-05/0.008075, allocations: 11.98 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.008466, allocations: 435.5 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.008663, allocations: 50.98 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.008694, allocations: 15.81 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.008715, allocations: 4.094 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.008741, allocations: 45.31 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.008742, allocations: 0 / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007661/0.009508, allocations: 332.8 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.00954, allocations: 51.41 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.01012, allocations: 0.6355 MB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01014, allocations: 29.7 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.01034, allocations: 278.8 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.01038, allocations: 43.64 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.01043, allocations: 27.38 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.01062, allocations: 0.5586 MB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.01066, allocations: 19.92 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.01069, allocations: 8 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/0.01078, allocations: 51.67 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01078, allocations: 0 / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001637/0.01094, allocations: 125.6 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01096, allocations: 8 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01096, allocations: 4 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.01098, allocations: 0 / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.01107, allocations: 31.91 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01107, allocations: 0 / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.01112, allocations: 4 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.01113, allocations: 4 kB / 386 MB, free: 10.47 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 (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 9.21e-05/0.01122, allocations: 160.5 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.01127, allocations: 51.67 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.01144, allocations: 133.5 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01145, allocations: 11.94 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01145, allocations: 0 / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01145, allocations: 0 / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.01188, allocations: 0.5396 MB / 386.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01188, allocations: 0 / 386.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.01193, allocations: 27.92 kB / 386.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.01193, allocations: 0 / 386.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.01194, allocations: 4.188 kB / 386.9 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01194, allocations: 7.938 kB / 386.9 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01195, allocations: 4.062 kB / 386.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.0121, allocations: 302.8 kB / 387.2 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.01212, allocations: 35.72 kB / 387.3 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.01214, allocations: 0 / 387.3 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.788e-05/0.01219, allocations: 11.92 kB / 387.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.01222, allocations: 11.98 kB / 387.3 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.01223, allocations: 4 kB / 387.3 MB, free: 9.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002474/0.01248, allocations: 430.8 kB / 387.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01248, allocations: 0 / 387.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.01266, allocations: 28 kB / 387.7 MB, free: 8.637 MB / 362.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.0008824/0.01354, allocations: 434.6 kB / 388.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.01366, allocations: 63.59 kB / 388.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01366, allocations: 0 / 388.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.959e-05/0.0137, allocations: 35.61 kB / 388.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.01394, allocations: 34.17 kB / 388.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.01458, allocations: 0.6402 MB / 388.9 MB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.669e-05/0.01466, allocations: 119.3 kB / 389 MB, free: 7.418 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.9e-05/0.0147, allocations: 20.47 kB / 389.1 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.01473, allocations: 20.44 kB / 389.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01473, allocations: 0 / 389.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of Templates: time 0.003953/0.01868, allocations: 1.77 MB / 390.8 MB, free: 5.625 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.358086501248181]