Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001323/0.001323, allocations: 84.16 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001442/0.001442, allocations: 167.7 kB / 23.96 MB, free: 4.145 MB / 14.72 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.397/1.397, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.2018/0.2018, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.308e-06/4.308e-06, allocations: 4 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/3.033e-05, allocations: 5.516 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003099/0.003129, allocations: 1.647 MB / 441.8 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.004266, allocations: 0.5259 MB / 442.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.004334, allocations: 4 kB / 442.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.004944, allocations: 455 kB / 442.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005388/0.005483, allocations: 291.2 kB / 443 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.005866, allocations: 140.7 kB / 443.2 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.006146, allocations: 167.6 kB / 443.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.006242, allocations: 11.98 kB / 443.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.006444, allocations: 119.8 kB / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.006741, allocations: 235.6 kB / 443.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.006766, allocations: 11.94 kB / 443.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.006868, allocations: 39.91 kB / 443.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.006982, allocations: 79.72 kB / 443.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.007033, allocations: 35.75 kB / 443.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.007376, allocations: 243 kB / 444.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.00738, allocations: 4 kB / 444.1 MB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007381, allocations: 0 / 444.1 MB, free: 4.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.007388, allocations: 0 / 444.1 MB, free: 4.152 MB / 366.1 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.0007847/0.008173, allocations: 0.5698 MB / 444.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.008211, allocations: 12.03 kB / 444.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.008285, allocations: 40.66 kB / 444.7 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.00859, allocations: 250 kB / 444.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.008602, allocations: 4.375 kB / 445 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.008626, allocations: 4.375 kB / 445 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.008776, allocations: 54.19 kB / 445 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.008787, allocations: 192 / 445 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.008798, allocations: 4.125 kB / 445 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.008804, allocations: 4 kB / 445 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.008903, allocations: 23.97 kB / 445 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.009363, allocations: 320.4 kB / 445.4 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.009583, allocations: 54.44 kB / 445.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.009642, allocations: 20.94 kB / 445.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.009664, allocations: 0 / 445.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.009694, allocations: 38.5 kB / 445.5 MB, free: 2.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.009695, allocations: 0 / 445.5 MB, free: 2.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006934/0.01039, allocations: 236.6 kB / 445.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.01043, allocations: 55.41 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/0.01135, allocations: 0.8574 MB / 446.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.01137, allocations: 29.7 kB / 446.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.01155, allocations: 216 kB / 446.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.01158, allocations: 7.906 kB / 446.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.01162, allocations: 21.72 kB / 446.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.0118, allocations: 362.8 kB / 447.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.01188, allocations: 19.98 kB / 447.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.01194, allocations: 11.98 kB / 447.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.01209, allocations: 60.7 kB / 447.3 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01209, allocations: 0 / 447.3 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002389/0.01233, allocations: 113.4 kB / 447.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01235, allocations: 4 kB / 447.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.01235, allocations: 0 / 447.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.01237, allocations: 4 kB / 447.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.01244, allocations: 11.98 kB / 447.5 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01245, allocations: 7.922 kB / 447.5 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.01251, allocations: 15.94 kB / 447.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.01252, allocations: 0 / 447.5 MB, free: 0.5781 MB / 366.1 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 0.0002026/0.01272, allocations: 214.4 kB / 447.7 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.01279, allocations: 47.67 kB / 447.7 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.01309, allocations: 141.1 kB / 447.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01309, allocations: 0 / 447.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.0131, allocations: 0 / 447.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.0131, allocations: 0 / 447.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1816/0.1947, allocations: 398.7 kB / 448.3 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1948, allocations: 1.188 kB / 448.3 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.1948, allocations: 15.27 kB / 448.3 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1948, allocations: 3.969 kB / 448.3 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1948, allocations: 1.281 kB / 448.3 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1948, allocations: 0 / 448.3 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1948, allocations: 2.5 kB / 448.3 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1951, allocations: 214.2 kB / 448.5 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.1951, allocations: 38.02 kB / 448.5 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1951, allocations: 1.25 kB / 448.5 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.1952, allocations: 4.844 kB / 448.5 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1953, allocations: 4.938 kB / 448.5 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1953, allocations: 4.938 kB / 448.5 MB, free: 21.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005652/0.1958, allocations: 0.6524 MB / 449.2 MB, free: 21.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1958, allocations: 0 / 449.2 MB, free: 21.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1961, allocations: 23.17 kB / 449.2 MB, free: 21.21 MB / 366.1 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.001487/0.1976, allocations: 427 kB / 449.6 MB, free: 21.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1978, allocations: 51.98 kB / 449.7 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1978, allocations: 0 / 449.7 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.527e-05/0.1979, allocations: 23.67 kB / 449.7 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1982, allocations: 31.97 kB / 449.7 MB, free: 21.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000957/0.1991, allocations: 0.8021 MB / 450.5 MB, free: 20.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1994, allocations: 225.5 kB / 450.8 MB, free: 20.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.253e-05/0.1994, allocations: 11.59 kB / 450.8 MB, free: 20.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.1994, allocations: 13.62 kB / 450.8 MB, free: 20.6 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1994, allocations: 0 / 450.8 MB, free: 20.6 MB / 366.1 MB Notification: Performance of Templates: time 0.004926/0.2044, allocations: 1.34 MB / 452.1 MB, free: 20.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.59880231693387]