Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.0009477/0.0009477, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005065/0.005065, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.8886/0.8886, allocations: 177.2 MB / 205 MB, free: 5.719 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.2354/0.2354, allocations: 32.79 MB / 294.2 MB, free: 1.199 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 3.938 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.275e-05, allocations: 2.281 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001957/0.00198, allocations: 1.595 MB / 442.5 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.002687, allocations: 0.5336 MB / 443 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.002745, allocations: 0 / 443 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.002948, allocations: 15.86 kB / 443 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.003182, allocations: 91.55 kB / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.00338, allocations: 110 kB / 443.2 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.003503, allocations: 67.72 kB / 443.3 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.003594, allocations: 15.97 kB / 443.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.056e-05/0.003645, allocations: 27.92 kB / 443.3 MB, free: 1.254 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.003695, allocations: 15.92 kB / 443.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.003709, allocations: 4 kB / 443.3 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-05/0.003771, allocations: 39.86 kB / 443.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.003814, allocations: 19.92 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.003838, allocations: 7.938 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.003978, allocations: 87.7 kB / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00398, allocations: 0 / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003981, allocations: 0 / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.003986, allocations: 0 / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004015/0.004387, allocations: 317.8 kB / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.004437, allocations: 8.031 kB / 443.8 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.004474, allocations: 8.891 kB / 443.8 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.004614, allocations: 137.6 kB / 443.9 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-06/0.004622, allocations: 4.375 kB / 443.9 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.004642, allocations: 384 / 443.9 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.004748, allocations: 50.25 kB / 444 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.004757, allocations: 192 / 444 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.004768, allocations: 4.125 kB / 444 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.004772, allocations: 4 kB / 444 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.973e-05/0.004831, allocations: 31.89 kB / 444 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.005086, allocations: 220.6 kB / 444.3 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.005241, allocations: 38.56 kB / 444.3 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.005268, allocations: 24.94 kB / 444.3 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.005286, allocations: 3.938 kB / 444.3 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.005303, allocations: 42.5 kB / 444.4 MB, free: 96 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.005304, allocations: 3.938 kB / 444.4 MB, free: 92 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.1689/0.1742, allocations: 153.3 kB / 444.5 MB, free: 46.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.1742, allocations: 56.31 kB / 444.6 MB, free: 46.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.1743, allocations: 156.1 kB / 444.7 MB, free: 46.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.1743, allocations: 30.8 kB / 444.8 MB, free: 46.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.1743, allocations: 95.39 kB / 444.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.1744, allocations: 20.41 kB / 444.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.1744, allocations: 18.83 kB / 444.9 MB, free: 46.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.832e-05/0.1744, allocations: 327.9 kB / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.1745, allocations: 18.61 kB / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.1745, allocations: 25.33 kB / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.1746, allocations: 52.73 kB / 445.3 MB, free: 45.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1746, allocations: 0 / 445.3 MB, free: 45.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.622e-05/0.1747, allocations: 92.12 kB / 445.4 MB, free: 45.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1747, allocations: 2.969 kB / 445.4 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1747, allocations: 0 / 445.4 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1747, allocations: 2.906 kB / 445.4 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.416e-05/0.1747, allocations: 12.36 kB / 445.4 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1747, allocations: 0 / 445.4 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.1748, allocations: 8.25 kB / 445.4 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.1748, allocations: 3.562 kB / 445.4 MB, free: 45.94 MB / 410.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 4.259e-05/0.1748, allocations: 123.1 kB / 445.5 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.1748, allocations: 13.73 kB / 445.6 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.175, allocations: 104.2 kB / 445.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.175, allocations: 2.75 kB / 445.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.175, allocations: 0 / 445.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.175, allocations: 0 / 445.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1752, allocations: 302.8 kB / 446 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1752, allocations: 0 / 446 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.1752, allocations: 14.52 kB / 446 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1752, allocations: 0 / 446 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1752, allocations: 2.656 kB / 446 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1752, allocations: 4.734 kB / 446 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1752, allocations: 3.031 kB / 446 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.342e-05/0.1753, allocations: 187.7 kB / 446.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.1753, allocations: 6.25 kB / 446.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.1753, allocations: 3.094 kB / 446.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.271e-05/0.1754, allocations: 8.094 kB / 446.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.1754, allocations: 3.047 kB / 446.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1754, allocations: 2.969 kB / 446.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.289e-05/0.1754, allocations: 130.4 kB / 446.3 MB, free: 45.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1754, allocations: 0 / 446.3 MB, free: 45.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001583/0.1756, allocations: 15.94 kB / 446.3 MB, free: 45.34 MB / 410.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.0006133/0.1762, allocations: 438.2 kB / 446.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1763, allocations: 57.97 kB / 446.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1763, allocations: 0 / 446.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.1764, allocations: 31.75 kB / 446.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1766, allocations: 13.06 kB / 446.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.1769, allocations: 217.7 kB / 447.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.1769, allocations: 82.05 kB / 447.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.177, allocations: 20.56 kB / 447.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.177, allocations: 0 / 447.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of Templates: time 0.001883/0.1788, allocations: 1.52 MB / 448.7 MB, free: 44.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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: 5.135901086032391]