Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.0009466/0.0009466, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001032/0.001032, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2558/0.2558, allocations: 32.8 MB / 294.6 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test28,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 4 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.653e-05, allocations: 2.312 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.005837/0.005863, allocations: 1.72 MB / 377.7 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008313/0.006695, allocations: 0.5491 MB / 378.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.006751, allocations: 0 / 378.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.006982, allocations: 55.8 kB / 378.3 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.007257, allocations: 103.5 kB / 378.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.01054, allocations: 131.5 kB / 378.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.01071, allocations: 87.69 kB / 378.7 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.01081, allocations: 12.23 kB / 378.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.01089, allocations: 47.88 kB / 378.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.01099, allocations: 51.88 kB / 378.8 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.011, allocations: 4 kB / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.0111, allocations: 47.92 kB / 378.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.01117, allocations: 23.91 kB / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.0112, allocations: 19.92 kB / 378.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.01139, allocations: 99.53 kB / 379 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01139, allocations: 4 kB / 379 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01139, allocations: 0 / 379 MB, free: 2.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.0114, allocations: 0 / 379 MB, free: 2.012 MB / 346.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.000461/0.01186, allocations: 443.9 kB / 379.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.0119, allocations: 16.03 kB / 379.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.01195, allocations: 8.891 kB / 379.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.01211, allocations: 140.4 kB / 379.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.01212, allocations: 4.375 kB / 379.6 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.01214, allocations: 12.33 kB / 379.6 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.01228, allocations: 66.88 kB / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.01229, allocations: 192 / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.0123, allocations: 4.125 kB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.01231, allocations: 7.984 kB / 379.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.3e-05/0.01236, allocations: 8 kB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.0127, allocations: 299.7 kB / 380 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.01288, allocations: 54.97 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.01291, allocations: 15.81 kB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.01293, allocations: 0 / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.01296, allocations: 45.42 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.01296, allocations: 3.938 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.00373/0.01669, allocations: 245.5 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.01673, allocations: 55.41 kB / 380.4 MB, free: 472 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.01689, allocations: 222.5 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.0169, allocations: 25.7 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.01696, allocations: 154.9 kB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.017, allocations: 39.62 kB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.01706, allocations: 27.42 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.01719, allocations: 0.5 MB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.01722, allocations: 11.98 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.01726, allocations: 19.98 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.773e-05/0.01734, allocations: 55.56 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01734, allocations: 0 / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001408/0.01748, allocations: 93.58 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.01749, allocations: 4 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.0175, allocations: 0 / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.01751, allocations: 3.984 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.0176, allocations: 27.92 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.0176, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.01764, allocations: 8 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.01765, allocations: 4 kB / 381.5 MB, free: 15.22 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 7.922e-05/0.01773, allocations: 168.5 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.01776, allocations: 15.91 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.01796, allocations: 110.4 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01796, allocations: 4 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01796, allocations: 0 / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01797, allocations: 0 / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.01838, allocations: 412.6 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.01839, allocations: 3.984 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.01846, allocations: 31.98 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01846, allocations: 0 / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01847, allocations: 0 / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01847, allocations: 7.938 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01847, allocations: 0 / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.01865, allocations: 263.8 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.01867, allocations: 19.84 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.01868, allocations: 8 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.01875, allocations: 7.938 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.01879, allocations: 11.98 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.0188, allocations: 7.984 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.421e-05/0.01889, allocations: 163.2 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01889, allocations: 0 / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003233/0.02212, allocations: 27.94 kB / 382.8 MB, free: 13.88 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.0009417/0.02306, allocations: 428.2 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.02324, allocations: 63.53 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02324, allocations: 0 / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.0233, allocations: 39.61 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.02363, allocations: 24.11 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.02414, allocations: 264.4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.02418, allocations: 71.33 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.447e-05/0.02423, allocations: 16.48 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.02426, allocations: 24.48 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02426, allocations: 0 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003535/0.0278, allocations: 1.586 MB / 385.3 MB, free: 11.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.2193552958779037]