Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001328/0.001328, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001476/0.001476, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 0.9536/0.9536, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2704/0.2704, allocations: 34.26 MB / 296.1 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.43e-05, allocations: 5.516 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001817/0.001831, allocations: 1.646 MB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006162/0.002447, allocations: 0.5413 MB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.002483, allocations: 0 / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.002873, allocations: 455 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.003183, allocations: 291.2 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.003383, allocations: 131.6 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.003535, allocations: 167.6 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.447e-05/0.0036, allocations: 11.94 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.003698, allocations: 119.8 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.003836, allocations: 203.6 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.003848, allocations: 4 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.414e-05/0.003892, allocations: 19.94 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.003963, allocations: 91.69 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.003992, allocations: 32.25 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.004147, allocations: 191.2 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-06/0.004149, allocations: 0 / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.004149, allocations: 0 / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.004152, allocations: 0 / 329.1 MB, free: 3.789 MB / 298.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.0003922/0.004544, allocations: 0.5424 MB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.423e-05/0.004568, allocations: 8.031 kB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.0046, allocations: 32.84 kB / 329.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.004749, allocations: 250 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.004757, allocations: 4.375 kB / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.004765, allocations: 384 / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.562e-05/0.004841, allocations: 58.94 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.004846, allocations: 192 / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.004853, allocations: 4.125 kB / 330 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.004858, allocations: 0 / 330 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.645e-05/0.004875, allocations: 11.98 kB / 330 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.005027, allocations: 152.2 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.005068, allocations: 30.56 kB / 330.2 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.146e-05/0.005079, allocations: 4.859 kB / 330.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.005091, allocations: 4 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.005108, allocations: 34.62 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.62e-07/0.005109, allocations: 0 / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 9.619e-05/0.005205, allocations: 69.62 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.005228, allocations: 51.41 kB / 330.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.005521, allocations: 0.5283 MB / 330.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.005529, allocations: 25.7 kB / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.005578, allocations: 141.3 kB / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.005592, allocations: 11.91 kB / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.005613, allocations: 17.7 kB / 331.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.005691, allocations: 358.7 kB / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-06/0.005698, allocations: 0 / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-06/0.005706, allocations: 4 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.935e-05/0.005725, allocations: 12.84 kB / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.005726, allocations: 0 / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.769e-05/0.005774, allocations: 61.61 kB / 331.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.005783, allocations: 11.94 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-06/0.005785, allocations: 0 / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.005795, allocations: 3.984 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.518e-05/0.00584, allocations: 8 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.005843, allocations: 4 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.005865, allocations: 3.938 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.00587, allocations: 0 / 331.5 MB, free: 1.203 MB / 298.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 (3): * Single equations (assignments): 3 * 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 5.717e-05/0.005927, allocations: 116.7 kB / 331.7 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.005947, allocations: 19.92 kB / 331.7 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.969e-05/0.006027, allocations: 84.98 kB / 331.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.006028, allocations: 4 kB / 331.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.006029, allocations: 0 / 331.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.006031, allocations: 4 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.006141, allocations: 137.8 kB / 331.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.006142, allocations: 4 kB / 331.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.00616, allocations: 7.984 kB / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.006161, allocations: 0 / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.006164, allocations: 0 / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.006166, allocations: 4 kB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.006167, allocations: 3.938 kB / 331.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.39e-05/0.006241, allocations: 159.9 kB / 332.1 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.006263, allocations: 35.72 kB / 332.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.006274, allocations: 0 / 332.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.00631, allocations: 8 kB / 332.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.00632, allocations: 11.86 kB / 332.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.006322, allocations: 0 / 332.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002203/0.006542, allocations: 287.2 kB / 332.4 MB, free: 280 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006542, allocations: 0 / 332.4 MB, free: 280 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.000128/0.00667, allocations: 16 kB / 332.4 MB, free: 264 kB / 298.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 (3): * Single equations (assignments): 3 * 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.0008413/0.007512, allocations: 437.6 kB / 332.9 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.624e-05/0.007558, allocations: 12.86 kB / 332.9 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.007562, allocations: 4 kB / 332.9 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.558e-06/0.007572, allocations: 12.84 kB / 332.9 MB, free: 16 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.007733, allocations: 32.27 kB / 332.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.008231, allocations: 0.5748 MB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.304e-05/0.008294, allocations: 115.2 kB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.286e-05/0.008317, allocations: 11.98 kB / 333.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.008365, allocations: 63.36 kB / 333.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 3.9e-07/0.008366, allocations: 0 / 333.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of Templates: time 0.003023/0.01139, allocations: 1.27 MB / 334.9 MB, free: 13.92 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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: 2.794567947741598]