Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001944/0.001944, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002036/0.002036, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.574/1.574, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.4075/0.4075, allocations: 34.26 MB / 295.3 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.007e-05, allocations: 2.312 kB / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003326/0.003356, allocations: 1.631 MB / 378.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.00459, allocations: 0.553 MB / 379.5 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.004644, allocations: 0 / 379.5 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007191/0.005363, allocations: 455.1 kB / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.00588, allocations: 291.2 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.006343, allocations: 171.5 kB / 380.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.006601, allocations: 163.7 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.006697, allocations: 15.98 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.006868, allocations: 123.6 kB / 380.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.007176, allocations: 239.7 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.007204, allocations: 0 / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-05/0.007302, allocations: 23.98 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.007422, allocations: 83.66 kB / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.007487, allocations: 39.73 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.007827, allocations: 231.1 kB / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.007831, allocations: 0 / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007832, allocations: 0 / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.007837, allocations: 4 kB / 381.3 MB, free: 14.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001028/0.008865, allocations: 0.7007 MB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.008903, allocations: 12.03 kB / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.008984, allocations: 44.66 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.009326, allocations: 248.8 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.009335, allocations: 8.312 kB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.009343, allocations: 384 / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.009472, allocations: 42.25 kB / 382.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.00948, allocations: 192 / 382.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.009494, allocations: 12.06 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.009498, allocations: 4 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.009573, allocations: 12 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.01025, allocations: 451.8 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.351e-05/0.01035, allocations: 35.05 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.0104, allocations: 23.62 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.01043, allocations: 7.984 kB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.01046, allocations: 33.39 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.01046, allocations: 0 / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002755/0.01073, allocations: 93.41 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.01078, allocations: 55.41 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008257/0.01161, allocations: 0.6785 MB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.01163, allocations: 25.7 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.01192, allocations: 298.8 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.01194, allocations: 11.89 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.01198, allocations: 23.38 kB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003752/0.01236, allocations: 0.5665 MB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.0124, allocations: 7.938 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.01243, allocations: 8.125 kB / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.0125, allocations: 23.73 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.0125, allocations: 0 / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001592/0.01266, allocations: 93.34 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01268, allocations: 4 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.01268, allocations: 0 / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.01269, allocations: 0 / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.01275, allocations: 4 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01276, allocations: 0 / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.0128, allocations: 11.92 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.01281, allocations: 8.031 kB / 384.8 MB, free: 11.27 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 (2): * Single equations (assignments): 2 * 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 0.0001351/0.01295, allocations: 160.6 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/0.01303, allocations: 43.66 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.01323, allocations: 84.73 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01323, allocations: 3.938 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01323, allocations: 0 / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.01324, allocations: 0 / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.01365, allocations: 316.5 kB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.01365, allocations: 0 / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.01369, allocations: 8.031 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01369, allocations: 3.938 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.0137, allocations: 0 / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.0137, allocations: 3.984 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.0137, allocations: 0 / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.01398, allocations: 239.6 kB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.01404, allocations: 39.66 kB / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01407, allocations: 0 / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.01413, allocations: 0 / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.01415, allocations: 0 / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.01416, allocations: 8.031 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005147/0.01467, allocations: 442.8 kB / 386.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01467, allocations: 0 / 386.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.01493, allocations: 12 kB / 386.1 MB, free: 9.859 MB / 362.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 (2): * Single equations (assignments): 2 * 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.002543/0.01748, allocations: 370.4 kB / 386.5 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.01762, allocations: 31.61 kB / 386.5 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01763, allocations: 3.938 kB / 386.5 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.82e-05/0.01767, allocations: 19.69 kB / 386.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.01803, allocations: 21.95 kB / 386.6 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.01898, allocations: 0.5769 MB / 387.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.01922, allocations: 196.2 kB / 387.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.829e-05/0.01927, allocations: 23.88 kB / 387.4 MB, free: 8.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.01931, allocations: 12.5 kB / 387.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01931, allocations: 0 / 387.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of Templates: time 0.005206/0.02451, allocations: 1.117 MB / 388.5 MB, free: 7.594 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0169883840717375]