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.001097/0.001097, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001101/0.001101, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2865/0.2865, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.144e-06/2.144e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.774e-05, allocations: 2.312 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002733/0.002761, allocations: 1.714 MB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003978, allocations: 0.5413 MB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.004043, allocations: 0 / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.004554, allocations: 455.1 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.004944, allocations: 295.1 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.005195, allocations: 139.5 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.005402, allocations: 179.6 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005507, allocations: 12.22 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.00563, allocations: 123.7 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.005833, allocations: 243.6 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.00585, allocations: 4 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.005941, allocations: 55.91 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.006034, allocations: 87.66 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.006073, allocations: 43.73 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.006294, allocations: 219.1 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006297, allocations: 0 / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006299, allocations: 0 / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.006302, allocations: 0 / 382.6 MB, free: 14.27 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.000556/0.006858, allocations: 0.7047 MB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.006906, allocations: 12.02 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.006958, allocations: 44.66 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.007162, allocations: 252.8 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.007174, allocations: 12.31 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.007196, allocations: 8.375 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.007316, allocations: 62.94 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.007326, allocations: 192 / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.007335, allocations: 4.125 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.007343, allocations: 3.984 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.007373, allocations: 11.98 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.007755, allocations: 352.1 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.007934, allocations: 47.05 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.007954, allocations: 11.69 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.007978, allocations: 7.938 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.008007, allocations: 45.42 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.008009, allocations: 0 / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005817/0.00859, allocations: 253.2 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.008622, allocations: 55.34 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.009032, allocations: 0.604 MB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.009048, allocations: 29.7 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.009206, allocations: 302.7 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.009243, allocations: 39.64 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.009283, allocations: 31.36 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.009484, allocations: 0.5624 MB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.009506, allocations: 8 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.009532, allocations: 15.92 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/0.009588, allocations: 39.95 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.009589, allocations: 0 / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001272/0.009717, allocations: 121.3 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.009731, allocations: 8 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.009736, allocations: 0 / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.009747, allocations: 4 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.009822, allocations: 23.92 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.009826, allocations: 0 / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.009858, allocations: 11.98 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.009865, allocations: 4 kB / 386.3 MB, free: 10.41 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.604e-05/0.009961, allocations: 164.5 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.01, allocations: 47.67 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.01019, allocations: 130 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01019, allocations: 0 / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01019, allocations: 3.938 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.0102, allocations: 7.984 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.0106, allocations: 461.1 kB / 387.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0106, allocations: 0 / 387.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.01066, allocations: 27.92 kB / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.01066, allocations: 0 / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01067, allocations: 8 kB / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01067, allocations: 0 / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01068, allocations: 4.062 kB / 387.1 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.01084, allocations: 294.8 kB / 387.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.01087, allocations: 35.72 kB / 387.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.01089, allocations: 3.938 kB / 387.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.01094, allocations: 11.98 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.01097, allocations: 11.92 kB / 387.4 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01098, allocations: 4 kB / 387.4 MB, free: 9.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005536/0.01153, allocations: 394.7 kB / 387.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01153, allocations: 0 / 387.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.01171, allocations: 28 kB / 387.9 MB, free: 8.719 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.0009627/0.01267, allocations: 433.8 kB / 388.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.01279, allocations: 55.58 kB / 388.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01279, allocations: 0 / 388.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.365e-05/0.01286, allocations: 39.83 kB / 388.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01314, allocations: 36.89 kB / 388.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/0.01385, allocations: 0.6365 MB / 389 MB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.702e-05/0.01394, allocations: 123.3 kB / 389.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.942e-05/0.01399, allocations: 24.47 kB / 389.2 MB, free: 7.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.01406, allocations: 82.19 kB / 389.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01406, allocations: 0 / 389.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of Templates: time 0.00512/0.01918, allocations: 1.916 MB / 391.2 MB, free: 5.492 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.2176786880008876]