Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.0008817/0.0008817, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001137/0.001137, allocations: 167.7 kB / 25.61 MB, free: 8.582 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.9594/0.9594, allocations: 177.2 MB / 206.1 MB, free: 4.457 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.1907/0.1907, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.54e-05/3.729e-05, allocations: 6.75 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003386/0.003423, allocations: 1.709 MB / 379 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009526/0.004376, allocations: 0.5335 MB / 379.5 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.004451, allocations: 4 kB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.004716, allocations: 55.67 kB / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.005051, allocations: 103.5 kB / 379.7 MB, free: 23.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.005381, allocations: 127.6 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.005556, allocations: 91.69 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.005662, allocations: 16.16 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.005747, allocations: 47.89 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/0.005845, allocations: 43.88 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.005861, allocations: 4 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.005966, allocations: 55.92 kB / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.087e-05/0.006037, allocations: 23.91 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.006062, allocations: 19.92 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.006242, allocations: 91.66 kB / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.006245, allocations: 0 / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.006246, allocations: 3.938 kB / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.00625, allocations: 0 / 380.2 MB, free: 22.65 MB / 314.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.0003685/0.006619, allocations: 443.9 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.006659, allocations: 11.98 kB / 380.6 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.006704, allocations: 16.88 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.006838, allocations: 148.4 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.006848, allocations: 4.375 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.006869, allocations: 4.375 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.006979, allocations: 62.94 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.00699, allocations: 192 / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.006999, allocations: 8.125 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.007005, allocations: 0 / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.007037, allocations: 15.92 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.007328, allocations: 276.2 kB / 381.2 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.007487, allocations: 51.08 kB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.007509, allocations: 15.69 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.007527, allocations: 3.938 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.007545, allocations: 37.39 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.007547, allocations: 0 / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006141/0.008161, allocations: 232.2 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.008185, allocations: 55.41 kB / 381.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.008296, allocations: 224 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.008304, allocations: 25.7 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.008352, allocations: 154.8 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.008388, allocations: 39.69 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.008434, allocations: 27.36 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.008497, allocations: 0.5078 MB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.008522, allocations: 11.98 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.008545, allocations: 11.98 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.938e-05/0.008605, allocations: 31.81 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008607, allocations: 8 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001225/0.008729, allocations: 93.84 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.008743, allocations: 4 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.008747, allocations: 3.938 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.008758, allocations: 4 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.008841, allocations: 19.98 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.008845, allocations: 0 / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.008879, allocations: 4 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.008887, allocations: 8 kB / 382.7 MB, free: 19.93 MB / 314.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 (11): * Single equations (assignments): 11 * 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.205e-05/0.008949, allocations: 164.5 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.008984, allocations: 15.95 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.009151, allocations: 114.3 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.009154, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.009155, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.009161, allocations: 4 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.009507, allocations: 393.1 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009509, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.00958, allocations: 19.98 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.009583, allocations: 4 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.00959, allocations: 4.062 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.009595, allocations: 4 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.009596, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.009748, allocations: 259 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.009761, allocations: 11.94 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.009777, allocations: 8 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.009847, allocations: 7.984 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.00988, allocations: 11.92 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.009888, allocations: 8 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.983e-05/0.009948, allocations: 152.5 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009948, allocations: 4 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.01023, allocations: 24 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001316/0.01154, allocations: 435.5 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.01169, allocations: 51.66 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01169, allocations: 0 / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.01173, allocations: 35.61 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.01206, allocations: 29.42 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.0125, allocations: 266.7 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.28e-05/0.01255, allocations: 75.19 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.403e-05/0.0126, allocations: 12.48 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.01267, allocations: 94.19 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01267, allocations: 0 / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of Templates: time 0.004394/0.01706, allocations: 1.754 MB / 386.6 MB, free: 16.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.1923052011989057]