Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001438/0.001438, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.00181/0.00181, allocations: 161 kB / 24.56 MB, free: 4 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.9445/0.9445, allocations: 177.1 MB / 205 MB, free: 5.219 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.2544/0.2544, allocations: 32.8 MB / 294.3 MB, free: 1.23 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.36e-05, allocations: 6.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003002/0.003026, allocations: 1.701 MB / 377.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.003807, allocations: 0.5492 MB / 378.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.003868, allocations: 3.938 kB / 378.3 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.004346, allocations: 451.1 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.004742, allocations: 295.2 kB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.004983, allocations: 135.5 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.005182, allocations: 171.7 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.005279, allocations: 4 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.005389, allocations: 131.7 kB / 379.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.005579, allocations: 243.6 kB / 379.7 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.005599, allocations: 7.938 kB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.005676, allocations: 35.91 kB / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.005778, allocations: 83.72 kB / 379.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.005821, allocations: 39.73 kB / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.006043, allocations: 199.2 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006045, allocations: 0 / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006046, allocations: 0 / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.006051, allocations: 0 / 380 MB, free: 0.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006182/0.006669, allocations: 0.7088 MB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.006712, allocations: 8.031 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.00677, allocations: 44.66 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.006979, allocations: 248.8 kB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.006989, allocations: 384 / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.007016, allocations: 4.375 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.007151, allocations: 58.95 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.007165, allocations: 4.125 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.007178, allocations: 8.125 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.007188, allocations: 3.984 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.578e-05/0.007224, allocations: 12 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.007646, allocations: 427.6 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.007733, allocations: 46.97 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.007759, allocations: 19.62 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.007782, allocations: 0 / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.007803, allocations: 37.39 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.007804, allocations: 0 / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004287/0.008233, allocations: 216.8 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.008263, allocations: 51.41 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.008694, allocations: 0.6316 MB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.008707, allocations: 29.7 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.008853, allocations: 282.8 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.008877, allocations: 23.8 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.008911, allocations: 27.38 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.009066, allocations: 0.5508 MB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.009088, allocations: 4 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.162e-05/0.00911, allocations: 15.98 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.009155, allocations: 35.56 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.009155, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001062/0.009262, allocations: 109.7 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.009275, allocations: 4 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.009279, allocations: 80 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.009298, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.009387, allocations: 19.98 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.009393, allocations: 3.984 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.009424, allocations: 11.92 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.009429, allocations: 0 / 383.7 MB, free: 12.8 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 (7): * Single equations (assignments): 7 * 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 8.792e-05/0.009517, allocations: 172.4 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.009553, allocations: 43.72 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.009731, allocations: 109.5 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.009734, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.009738, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.009742, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.01013, allocations: 485.2 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01013, allocations: 7.984 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.01018, allocations: 12 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01018, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01019, allocations: 7.984 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01019, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01019, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.01035, allocations: 255.5 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.01038, allocations: 39.66 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.01039, allocations: 0 / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.01044, allocations: 7.984 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.01048, allocations: 8 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.01048, allocations: 0 / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002792/0.01076, allocations: 426.8 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01076, allocations: 0 / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.01095, allocations: 27.98 kB / 385.2 MB, free: 11.14 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 (7): * Single equations (assignments): 7 * 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.0008905/0.01184, allocations: 382.3 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01196, allocations: 43.66 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01196, allocations: 3.938 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.01199, allocations: 39.77 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.01223, allocations: 29.47 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/0.01287, allocations: 0.5848 MB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.52e-05/0.01294, allocations: 123.9 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.911e-05/0.01297, allocations: 4 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.013, allocations: 20.48 kB / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.013, allocations: 4 kB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of Templates: time 0.004061/0.01706, allocations: 1.493 MB / 387.9 MB, free: 8.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.275951595045626]