Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002369/0.002369, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001718/0.001718, allocations: 161 kB / 24.56 MB, free: 16 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 1.024/1.024, allocations: 177.1 MB / 205 MB, free: 5.629 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.2732/0.2732, allocations: 32.81 MB / 294.3 MB, free: 1.281 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.969e-05, allocations: 2.312 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.005489/0.005509, allocations: 1.693 MB / 377.7 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000822/0.006331, allocations: 0.5531 MB / 378.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.006375, allocations: 0 / 378.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.006895, allocations: 443.1 kB / 378.7 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.01031, allocations: 299.2 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.01057, allocations: 139.4 kB / 379.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.01077, allocations: 163.7 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.01086, allocations: 12 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.01098, allocations: 127.7 kB / 379.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.01119, allocations: 235.6 kB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.01121, allocations: 4 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.853e-05/0.01129, allocations: 39.91 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.01138, allocations: 83.72 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.01142, allocations: 27.75 kB / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.01166, allocations: 203.1 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01166, allocations: 4 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01166, allocations: 0 / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.01167, allocations: 0 / 380 MB, free: 0.6211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006006/0.01227, allocations: 0.6932 MB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.0123, allocations: 8.031 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.01236, allocations: 44.66 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.01257, allocations: 244.9 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.01258, allocations: 8.359 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.01261, allocations: 8.359 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.01272, allocations: 58.89 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-06/0.01273, allocations: 192 / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.01274, allocations: 12.12 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.01275, allocations: 0 / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.01278, allocations: 11.98 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.01404, allocations: 423.6 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.01421, allocations: 50.92 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.01423, allocations: 11.69 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.01425, allocations: 4 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.01427, allocations: 37.48 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.01427, allocations: 0 / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003456/0.01461, allocations: 188.8 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.01464, allocations: 51.41 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.01501, allocations: 0.6315 MB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.01502, allocations: 29.7 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.01516, allocations: 282.8 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.01518, allocations: 19.84 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.01521, allocations: 19.38 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.01535, allocations: 0.5547 MB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.01536, allocations: 4 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.01538, allocations: 4 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.01541, allocations: 31.56 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01541, allocations: 7.984 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.374e-05/0.0155, allocations: 93.61 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.01551, allocations: 8 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.01551, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01553, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.183e-05/0.01557, allocations: 11.98 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.01557, allocations: 0 / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.0156, allocations: 4 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.0156, allocations: 0 / 383.5 MB, free: 12.89 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 6.841e-05/0.01567, allocations: 168.5 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.0157, allocations: 47.66 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.01582, allocations: 97.19 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.01582, allocations: 0 / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01582, allocations: 0 / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01583, allocations: 0 / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.01614, allocations: 469.3 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01614, allocations: 4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.01617, allocations: 11.98 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01617, allocations: 0 / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.01618, allocations: 0 / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01618, allocations: 4 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01618, allocations: 0 / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.0163, allocations: 243.6 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.01632, allocations: 35.72 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.01634, allocations: 256 / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.01637, allocations: 4 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.0164, allocations: 12.2 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.0164, allocations: 3.938 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000245/0.01665, allocations: 434.8 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01665, allocations: 0 / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.01681, allocations: 23.94 kB / 385.1 MB, free: 11.28 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.0007607/0.01757, allocations: 395.4 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.082e-05/0.01765, allocations: 27.67 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01765, allocations: 4 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.01767, allocations: 23.62 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01789, allocations: 25.95 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.01847, allocations: 0.569 MB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.566e-05/0.01854, allocations: 115.3 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.537e-05/0.01856, allocations: 11.98 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.01859, allocations: 12.5 kB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01859, allocations: 4 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.003542/0.02213, allocations: 1.37 MB / 387.6 MB, free: 8.824 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4132123459130526]