Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001264/0.001264, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001337/0.001337, allocations: 161 kB / 24.56 MB, free: 12 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.9402/0.9402, allocations: 177.1 MB / 205 MB, free: 5.605 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.244/0.244, allocations: 32.8 MB / 294.3 MB, free: 1.293 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.65e-05, allocations: 6.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.001891/0.001907, allocations: 1.658 MB / 377.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006816/0.002589, allocations: 0.5258 MB / 378.2 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.002633, allocations: 0 / 378.2 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.003046, allocations: 455 kB / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.003363, allocations: 295.2 kB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.003555, allocations: 119.6 kB / 379.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.003723, allocations: 171.6 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.003805, allocations: 8.172 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.003906, allocations: 115.8 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.004073, allocations: 243.6 kB / 379.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.004089, allocations: 4 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.004141, allocations: 19.94 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.021e-05/0.004222, allocations: 87.7 kB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.004257, allocations: 35.73 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.004441, allocations: 187.2 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004443, allocations: 0 / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004443, allocations: 0 / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.004448, allocations: 0 / 379.9 MB, free: 0.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006279/0.005076, allocations: 0.6893 MB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.005109, allocations: 8.031 kB / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.005169, allocations: 44.7 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.005332, allocations: 240.9 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.005339, allocations: 384 / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.005351, allocations: 12.28 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.005451, allocations: 58.89 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.005457, allocations: 192 / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.005467, allocations: 7.938 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005473, allocations: 0 / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.249e-05/0.005496, allocations: 8 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.005855, allocations: 415.7 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.11e-05/0.005906, allocations: 38.92 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.005924, allocations: 7.688 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.005945, allocations: 4.062 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.005963, allocations: 33.39 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.005964, allocations: 0 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.000155/0.006119, allocations: 89.34 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.006144, allocations: 51.41 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.006527, allocations: 0.6277 MB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.006537, allocations: 29.83 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.006669, allocations: 282.8 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.006684, allocations: 3.953 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.00671, allocations: 23.36 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.006861, allocations: 0.547 MB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.006875, allocations: 4 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.006885, allocations: 4 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.006913, allocations: 11.69 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006915, allocations: 0 / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.644e-05/0.006992, allocations: 97.34 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.007003, allocations: 4 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.007007, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.007018, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.007082, allocations: 4 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.007089, allocations: 3.984 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.007111, allocations: 4 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.007116, allocations: 0 / 383.2 MB, free: 13.21 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 7.157e-05/0.007188, allocations: 152.6 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.00722, allocations: 47.66 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.746e-05/0.007317, allocations: 76.78 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.00732, allocations: 3.984 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.007323, allocations: 0 / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.007327, allocations: 7.938 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.007516, allocations: 284.5 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007517, allocations: 3.938 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.007538, allocations: 7.938 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.007539, allocations: 0 / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.007545, allocations: 0 / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007546, allocations: 0 / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007547, allocations: 4.031 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.007651, allocations: 223.7 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.007675, allocations: 35.66 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.007689, allocations: 8 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.279e-05/0.007722, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.007744, allocations: 3.984 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.007747, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002372/0.007984, allocations: 426.8 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007984, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001565/0.008141, allocations: 19.92 kB / 384.5 MB, free: 11.87 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.0006599/0.0088, allocations: 335.5 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.02e-05/0.008871, allocations: 19.67 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.008873, allocations: 0 / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.008883, allocations: 11.69 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.009102, allocations: 25.95 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.00964, allocations: 0.5614 MB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.356e-05/0.009714, allocations: 111.3 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.309e-05/0.009737, allocations: 15.97 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.009762, allocations: 12.5 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009762, allocations: 3.938 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Templates: time 0.003382/0.01314, allocations: 1.146 MB / 386.7 MB, free: 9.695 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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.1442296048626304]