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.0009458/0.0009458, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009165/0.0009165, allocations: 161.4 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.9063/0.9063, allocations: 177.1 MB / 205 MB, free: 5.602 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.2359/0.2359, allocations: 32.81 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.483e-06/1.483e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.799e-05, allocations: 10.19 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002164/0.002182, allocations: 1.658 MB / 377.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000698/0.00288, allocations: 0.5258 MB / 378.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.002928, allocations: 4 kB / 378.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.0034, allocations: 455 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.003834, allocations: 291.2 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.004084, allocations: 127.6 kB / 379.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.004274, allocations: 159.6 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.00436, allocations: 12.17 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.004462, allocations: 115.8 kB / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.004642, allocations: 239.5 kB / 379.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.004659, allocations: 8 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.205e-05/0.004721, allocations: 27.92 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.004805, allocations: 83.7 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.004839, allocations: 35.75 kB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.005038, allocations: 183.2 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.00504, allocations: 0 / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.00504, allocations: 4 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005045, allocations: 0 / 379.9 MB, free: 0.7539 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.0005458/0.005591, allocations: 0.6853 MB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.005627, allocations: 8.031 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.005696, allocations: 52.64 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.005883, allocations: 240.9 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.005893, allocations: 4.375 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.005902, allocations: 4.375 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.006011, allocations: 54.95 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.00602, allocations: 192 / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.006032, allocations: 3.938 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.00604, allocations: 0 / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.006064, allocations: 7.938 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.006434, allocations: 419.7 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.939e-05/0.006483, allocations: 35 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.006504, allocations: 15.75 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.006519, allocations: 0 / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.006539, allocations: 37.33 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.00654, allocations: 0 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.006692, allocations: 85.39 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.00672, allocations: 51.41 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.007105, allocations: 0.6316 MB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.007116, allocations: 25.7 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.007249, allocations: 282.8 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.007265, allocations: 12.08 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.00729, allocations: 19.38 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.00744, allocations: 0.5509 MB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.007451, allocations: 0 / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-06/0.00746, allocations: 3.984 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.007487, allocations: 19.62 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007489, allocations: 0 / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.431e-05/0.007553, allocations: 81.36 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.007564, allocations: 4 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.007567, allocations: 96 / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.007581, allocations: 8 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/0.007635, allocations: 3.984 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.00764, allocations: 4 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.007661, allocations: 0 / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.007666, allocations: 0 / 383.2 MB, free: 13.22 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 6.842e-05/0.007734, allocations: 156.6 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.007765, allocations: 51.53 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.606e-05/0.007861, allocations: 76.73 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.007863, allocations: 4 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.007867, allocations: 8.031 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.007869, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.008054, allocations: 276.5 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008055, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.008071, allocations: 7.938 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.008073, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.008078, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008079, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.008081, allocations: 3.984 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.501e-05/0.008176, allocations: 227.6 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.008198, allocations: 43.69 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.008212, allocations: 3.984 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.008243, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.008256, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.008258, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002268/0.008485, allocations: 426.8 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008485, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.008635, allocations: 23.94 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.000608/0.009243, allocations: 327.6 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.222e-05/0.009315, allocations: 11.69 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009317, allocations: 0 / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.009329, allocations: 19.62 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.009539, allocations: 21.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.0005125/0.01005, allocations: 0.5614 MB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.587e-05/0.01012, allocations: 119.2 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.18e-05/0.01014, allocations: 7.984 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.01016, allocations: 12.5 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01016, allocations: 0 / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003248/0.01341, allocations: 1.215 MB / 386.8 MB, free: 9.641 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: 2.8691703039221466]