Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.0009161/0.0009161, 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.001257/0.001257, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2819/0.2819, allocations: 34.27 MB / 296 MB, free: 0.7695 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.507e-05/3.709e-05, allocations: 6.25 kB / 378.1 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003201/0.003238, allocations: 1.707 MB / 379.8 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.004248, allocations: 0.5491 MB / 380.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.00432, allocations: 0 / 380.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.004945, allocations: 459.1 kB / 380.8 MB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005007/0.005446, allocations: 291.2 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.005757, allocations: 127.5 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.006027, allocations: 179.6 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.006159, allocations: 19.92 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.006325, allocations: 123.8 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.006602, allocations: 239.6 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.006624, allocations: 4 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.006746, allocations: 47.92 kB / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.006883, allocations: 87.7 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.006936, allocations: 39.73 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.007256, allocations: 207.1 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.007259, allocations: 4 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.007261, allocations: 0 / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.007266, allocations: 0 / 382.1 MB, free: 14.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007563/0.008022, allocations: 0.7009 MB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.008067, allocations: 12.03 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.978e-05/0.008147, allocations: 44.66 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.008412, allocations: 252.8 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.008426, allocations: 4.375 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.00845, allocations: 4.375 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.008605, allocations: 62.94 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.008619, allocations: 4.188 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.008634, allocations: 8.109 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.008646, allocations: 4 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.008698, allocations: 23.92 kB / 383.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.009262, allocations: 423.6 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.181e-05/0.009354, allocations: 47.03 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.009386, allocations: 15.77 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.00941, allocations: 0 / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.009439, allocations: 41.39 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.00944, allocations: 0 / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007599/0.0102, allocations: 264.6 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.01024, allocations: 51.41 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000629/0.01087, allocations: 0.6277 MB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.01089, allocations: 25.7 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.01111, allocations: 290.7 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.01115, allocations: 31.69 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.0112, allocations: 27.36 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002596/0.01146, allocations: 0.5586 MB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.01149, allocations: 7.984 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.01151, allocations: 15.94 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.424e-05/0.01158, allocations: 35.67 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.01158, allocations: 0 / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001546/0.01173, allocations: 109.4 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01175, allocations: 5.875 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01175, allocations: 0 / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.01177, allocations: 4 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.01187, allocations: 19.92 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01187, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.01191, allocations: 4 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01192, allocations: 8 kB / 385.8 MB, free: 10.97 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 (8): * Single equations (assignments): 8 * 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 0.0001507/0.01207, allocations: 160.5 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.01213, allocations: 47.72 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.01235, allocations: 109.5 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01235, allocations: 0 / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.01236, allocations: 0 / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01236, allocations: 0 / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.01291, allocations: 0.5047 MB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01291, allocations: 4.031 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.01298, allocations: 15.94 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.01298, allocations: 4 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01299, allocations: 7.984 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01299, allocations: 0 / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.013, allocations: 3.938 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.01331, allocations: 267.8 kB / 386.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.01334, allocations: 39.66 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.01337, allocations: 432 / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.01344, allocations: 11.98 kB / 387 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.01348, allocations: 7.938 kB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.01348, allocations: 4 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003819/0.01387, allocations: 426.8 kB / 387.4 MB, free: 9.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01387, allocations: 3.938 kB / 387.4 MB, free: 9.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.01415, allocations: 35.92 kB / 387.4 MB, free: 9.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001232/0.01538, allocations: 427.2 kB / 387.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.01552, allocations: 43.61 kB / 387.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01552, allocations: 0 / 387.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.01557, allocations: 35.66 kB / 387.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.01591, allocations: 25.95 kB / 387.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.01675, allocations: 0.6094 MB / 388.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.017, allocations: 115.3 kB / 388.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.01706, allocations: 17.02 kB / 388.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.0171, allocations: 16.5 kB / 388.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0171, allocations: 4 kB / 388.7 MB, free: 8.062 MB / 362.7 MB Notification: Performance of Templates: time 0.005003/0.0221, allocations: 1.607 MB / 390.3 MB, free: 6.465 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.2556651108898222]