Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001127/0.001127, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001116/0.001116, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2697/0.2697, allocations: 34.26 MB / 296 MB, free: 0.7734 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.521e-05, allocations: 2.312 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002201/0.002226, allocations: 1.696 MB / 379.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.002977, allocations: 0.5491 MB / 380.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.003036, allocations: 0 / 380.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.003478, allocations: 451.1 kB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.003877, allocations: 291.2 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.004164, allocations: 143.4 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.004418, allocations: 171.6 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.004529, allocations: 4 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.004648, allocations: 119.8 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.00484, allocations: 243.6 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.004856, allocations: 4 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.144e-05/0.004938, allocations: 35.92 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.005036, allocations: 83.7 kB / 381.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.005077, allocations: 35.75 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.005305, allocations: 199.1 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005307, allocations: 0 / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005308, allocations: 0 / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.005314, allocations: 0 / 382 MB, free: 14.96 MB / 362.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.000568/0.005881, allocations: 0.6893 MB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.00592, allocations: 20.02 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.005977, allocations: 44.66 kB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.006175, allocations: 240.9 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.006187, allocations: 4.375 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.006207, allocations: 384 / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.006322, allocations: 66.88 kB / 383.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.006332, allocations: 192 / 383.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.006342, allocations: 8.125 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.006351, allocations: 0 / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.365e-05/0.006385, allocations: 8 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.006766, allocations: 431.6 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.006916, allocations: 50.92 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.006936, allocations: 7.688 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.006952, allocations: 4 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.006974, allocations: 41.39 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.006976, allocations: 3.984 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003537/0.007329, allocations: 184.8 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.007358, allocations: 51.41 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.007738, allocations: 0.6316 MB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.007748, allocations: 25.7 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.007883, allocations: 290.7 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.007901, allocations: 15.83 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.00793, allocations: 23.38 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.008077, allocations: 0.5508 MB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.008094, allocations: 8 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.008108, allocations: 8.125 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.693e-05/0.008145, allocations: 31.62 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.008145, allocations: 0 / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.693e-05/0.008232, allocations: 93.41 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.008245, allocations: 8 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.008249, allocations: 4 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.008261, allocations: 0 / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.008299, allocations: 11.98 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.008304, allocations: 0 / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.008328, allocations: 4 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.008332, allocations: 0 / 385.5 MB, free: 11.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 (5): * Single equations (assignments): 5 * 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.285e-05/0.008405, allocations: 164.5 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.00844, allocations: 51.67 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.008568, allocations: 97.2 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.00857, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.008573, allocations: 4 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.008577, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.008884, allocations: 469.3 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.008886, allocations: 0 / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.008914, allocations: 15.98 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008916, allocations: 0 / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.008922, allocations: 192 / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.008925, allocations: 4 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.008928, allocations: 4 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.009052, allocations: 247.5 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.009073, allocations: 35.72 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.009087, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.009123, allocations: 4 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.009151, allocations: 3.984 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.009155, allocations: 4 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002362/0.009391, allocations: 430.8 kB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009391, allocations: 3.938 kB / 387 MB, free: 9.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.009555, allocations: 19.94 kB / 387.1 MB, free: 9.617 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 (5): * Single equations (assignments): 5 * 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.0007415/0.0103, allocations: 396.6 kB / 387.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.509e-05/0.01038, allocations: 27.67 kB / 387.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01038, allocations: 0 / 387.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.01041, allocations: 23.62 kB / 387.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.01063, allocations: 29.14 kB / 387.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.01119, allocations: 0.5705 MB / 388.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.119e-05/0.01127, allocations: 119.3 kB / 388.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.926e-05/0.01129, allocations: 11.97 kB / 388.2 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.01132, allocations: 16.5 kB / 388.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01132, allocations: 0 / 388.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of Templates: time 0.003452/0.01477, allocations: 1.368 MB / 389.6 MB, free: 7.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.3668521810323]