Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001054/0.001054, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001329/0.001329, allocations: 170.4 kB / 25.61 MB, free: 8.914 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.9233/0.9233, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1475/0.1475, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.025e-05, allocations: 6.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.005167/0.005187, allocations: 1.634 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007784/0.005966, allocations: 0.5181 MB / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.006016, allocations: 4 kB / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.006424, allocations: 451 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.006772, allocations: 295.2 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.007006, allocations: 123.6 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.007169, allocations: 167.6 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.007244, allocations: 4.188 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.007343, allocations: 119.7 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.007506, allocations: 239.7 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.00752, allocations: 4 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.429e-05/0.007574, allocations: 27.92 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003091/0.01067, allocations: 83.66 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.0107, allocations: 35.73 kB / 381 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.01088, allocations: 187.2 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01088, allocations: 4 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01088, allocations: 0 / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.01088, allocations: 0 / 381.1 MB, free: 21.7 MB / 314.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.000417/0.0113, allocations: 0.6893 MB / 381.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.01133, allocations: 11.98 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.01138, allocations: 48.66 kB / 381.9 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.01152, allocations: 240.9 kB / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.01153, allocations: 4.375 kB / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.01153, allocations: 4.375 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.749e-05/0.01162, allocations: 54.89 kB / 382.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.01163, allocations: 192 / 382.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.01163, allocations: 7.938 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.01164, allocations: 0 / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.01166, allocations: 11.98 kB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.0119, allocations: 328.3 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.963e-05/0.01194, allocations: 34.98 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.01195, allocations: 7.688 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.01197, allocations: 3.938 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.01198, allocations: 41.45 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.01198, allocations: 0 / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001315/0.01211, allocations: 77.41 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.01213, allocations: 55.34 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.01247, allocations: 0.6001 MB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.01248, allocations: 33.83 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.0126, allocations: 302.6 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.01262, allocations: 7.938 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.01265, allocations: 19.38 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.01273, allocations: 0.5508 MB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.01274, allocations: 0 / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.01274, allocations: 0 / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/0.01277, allocations: 19.67 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01277, allocations: 4 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.097e-05/0.01284, allocations: 81.42 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.01285, allocations: 4 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.01286, allocations: 0 / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.01286, allocations: 0 / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.271e-05/0.01292, allocations: 11.92 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.01292, allocations: 0 / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.01295, allocations: 4 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.01295, allocations: 0 / 384.4 MB, free: 18.27 MB / 314.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 5.592e-05/0.01301, allocations: 156.6 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.01305, allocations: 51.61 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.797e-05/0.01315, allocations: 80.77 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.01315, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01315, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01315, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.01332, allocations: 193.1 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01332, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.01334, allocations: 7.984 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01335, allocations: 0 / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.01335, allocations: 3.938 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01335, allocations: 3.938 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01335, allocations: 4 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.01645, allocations: 231.7 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.01647, allocations: 31.72 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.01649, allocations: 3.938 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.01655, allocations: 4 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-06/0.01656, allocations: 3.938 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.01656, allocations: 0 / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.01675, allocations: 398.7 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01675, allocations: 0 / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.01697, allocations: 15.94 kB / 385.5 MB, free: 17.04 MB / 314.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.0007018/0.01767, allocations: 331.8 kB / 385.9 MB, free: 16.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.997e-05/0.01773, allocations: 19.62 kB / 385.9 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01774, allocations: 0 / 385.9 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.01775, allocations: 15.67 kB / 385.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.01802, allocations: 31.47 kB / 385.9 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.01854, allocations: 0.5554 MB / 386.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.172e-05/0.0186, allocations: 119.1 kB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.727e-05/0.01863, allocations: 11.98 kB / 386.6 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.01866, allocations: 82.19 kB / 386.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01866, allocations: 0 / 386.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of Templates: time 0.006493/0.02516, allocations: 1.233 MB / 387.9 MB, free: 14.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.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.4565340392291546]