Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002122/0.002122, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002629/0.002629, allocations: 161.3 kB / 24.27 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.695/1.695, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3576/0.3576, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 375.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.66e-05, allocations: 6.25 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003592/0.003629, allocations: 1.626 MB / 376.9 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.005069, allocations: 0.5452 MB / 377.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.005128, allocations: 4 kB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008458/0.005974, allocations: 451.1 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006124/0.006587, allocations: 291.2 kB / 378.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.007073, allocations: 167.5 kB / 378.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.007379, allocations: 175.6 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.007476, allocations: 8 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.007659, allocations: 123.8 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.007961, allocations: 243.6 kB / 378.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.007989, allocations: 0 / 378.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.008074, allocations: 23.94 kB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.008197, allocations: 87.69 kB / 379 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.008259, allocations: 35.75 kB / 379 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.008626, allocations: 227.1 kB / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.00863, allocations: 0 / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.008631, allocations: 0 / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.008638, allocations: 0 / 379.2 MB, free: 1.004 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.0009653/0.009603, allocations: 0.7045 MB / 379.9 MB, free: 268 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.009654, allocations: 12.03 kB / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002773/0.009932, allocations: 48.66 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.0104, allocations: 249 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.01042, allocations: 4.375 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.01043, allocations: 384 / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.01062, allocations: 42.25 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.01063, allocations: 192 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.01064, allocations: 8.109 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.01065, allocations: 4 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.01075, allocations: 15.98 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.01169, allocations: 463.7 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.01184, allocations: 31.06 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.01191, allocations: 23.67 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.01194, allocations: 4 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.01197, allocations: 33.39 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.01197, allocations: 0 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003862/0.01236, allocations: 93.34 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.01243, allocations: 51.41 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.01367, allocations: 0.6825 MB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.01371, allocations: 25.7 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.01416, allocations: 302.8 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.0142, allocations: 11.89 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.01426, allocations: 19.38 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005383/0.0148, allocations: 0.5665 MB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.01487, allocations: 7.984 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.645e-05/0.01492, allocations: 8 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.01504, allocations: 19.67 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01505, allocations: 4.062 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002841/0.01533, allocations: 101.2 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.01535, allocations: 4 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.01536, allocations: 0 / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.01538, allocations: 0 / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.01548, allocations: 4 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01548, allocations: 0 / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.01556, allocations: 4 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.01557, allocations: 0 / 382.7 MB, free: 13.28 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.0001903/0.01576, allocations: 164.6 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.01587, allocations: 47.64 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.01615, allocations: 84.69 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.01616, allocations: 3.984 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01616, allocations: 0 / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01617, allocations: 0 / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.01679, allocations: 316.5 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01679, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.01684, allocations: 4 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.01685, allocations: 3.938 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.01686, allocations: 4.031 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01686, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01686, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.01723, allocations: 231.7 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.01732, allocations: 47.64 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.01736, allocations: 0 / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.01748, allocations: 3.938 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.0175, allocations: 0 / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01751, allocations: 4 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007227/0.01823, allocations: 442.8 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.01823, allocations: 4.031 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004329/0.01866, allocations: 12 kB / 384.1 MB, free: 11.86 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.003495/0.02216, allocations: 378.7 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.02242, allocations: 31.67 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.02242, allocations: 0 / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.02249, allocations: 19.69 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.0231, allocations: 21.95 kB / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.02463, allocations: 0.5782 MB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.025, allocations: 200.1 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.573e-05/0.02507, allocations: 15.97 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.02513, allocations: 16.5 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.743e-06/0.02513, allocations: 0 / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.007547/0.03268, allocations: 1.103 MB / 386.4 MB, free: 9.609 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.08286347403191]