Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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: 78.66 kB / 21.42 MB, free: 3.074 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.0009944/0.0009944, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9251/0.9251, 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.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.2162/0.2162, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.56e-05, allocations: 9.484 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.005244/0.005259, allocations: 1.658 MB / 378.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000731/0.00599, allocations: 0.5181 MB / 378.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.006034, allocations: 0 / 378.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.006525, allocations: 455 kB / 379.1 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.006915, allocations: 299.2 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.007145, allocations: 123.6 kB / 379.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.007331, allocations: 171.7 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.045e-05/0.007401, allocations: 8 kB / 379.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/0.01074, allocations: 119.8 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.01096, allocations: 243.5 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.01097, allocations: 4 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.159e-05/0.01104, allocations: 23.94 kB / 380.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.01112, allocations: 83.69 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.01115, allocations: 39.75 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.01135, allocations: 195.2 kB / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.01135, allocations: 0 / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.01135, allocations: 0 / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.01136, allocations: 0 / 380.4 MB, free: 484 kB / 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.0005499/0.01191, allocations: 0.697 MB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.01194, allocations: 8.031 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.01199, allocations: 44.66 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.01216, allocations: 244.9 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.01217, allocations: 384 / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.01218, allocations: 4.375 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.01227, allocations: 62.94 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.01228, allocations: 192 / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.01228, allocations: 4.125 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.01229, allocations: 4 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.01231, allocations: 7.938 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.0126, allocations: 324.3 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.635e-05/0.01266, allocations: 35.05 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.01268, allocations: 15.67 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.01269, allocations: 0 / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.01272, allocations: 45.33 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.01272, allocations: 7.922 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001414/0.01286, allocations: 85.5 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.01288, allocations: 55.39 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.01332, allocations: 0.604 MB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.01334, allocations: 25.7 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003179/0.01652, allocations: 290.7 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.01653, allocations: 15.89 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.01657, allocations: 27.34 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.01675, allocations: 0.5508 MB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.01676, allocations: 0 / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.01677, allocations: 11.98 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.0168, allocations: 15.62 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.0168, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.321e-05/0.0169, allocations: 85.41 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.01691, allocations: 7.938 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01691, allocations: 4 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.01692, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.707e-05/0.01698, allocations: 7.984 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.01698, allocations: 0 / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.01702, allocations: 7.938 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.01702, allocations: 4 kB / 383.7 MB, free: 13 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 (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 7.745e-05/0.0171, allocations: 156.6 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.01714, allocations: 51.55 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.384e-05/0.01723, allocations: 81.11 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01723, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.01723, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.01724, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.01742, allocations: 205.1 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.01742, allocations: 0 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.01745, allocations: 7.984 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01745, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.01746, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01746, allocations: 7.938 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01746, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.01758, allocations: 231.6 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.01761, allocations: 39.72 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.01763, allocations: 4 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.01769, allocations: 7.922 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.0177, allocations: 4.422 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.0177, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002558/0.01796, allocations: 394.7 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01796, allocations: 4 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.01818, allocations: 19.94 kB / 384.9 MB, free: 11.74 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 (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.0007631/0.01895, allocations: 322.8 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.248e-05/0.01901, allocations: 19.69 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01901, allocations: 7.938 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.604e-05/0.01902, allocations: 15.67 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.01931, allocations: 29.61 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.01996, allocations: 0.5575 MB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.978e-05/0.02005, allocations: 119.2 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.913e-05/0.02008, allocations: 11.97 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.02014, allocations: 82.19 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02014, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003589/0.02373, allocations: 1.271 MB / 387.3 MB, free: 9.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.857100901659578]