Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.00099/0.00099, 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.005363/0.005363, allocations: 157 kB / 24.69 MB, free: 9.43 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.9468/0.9468, allocations: 177.1 MB / 205 MB, free: 5.738 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.2474/0.2474, allocations: 32.8 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.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.935e-05, allocations: 4.812 kB / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002245/0.002274, allocations: 1.72 MB / 442.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.003426, allocations: 0.9742 MB / 443.6 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.003508, allocations: 3.938 kB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.003801, allocations: 43.75 kB / 443.7 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.004071, allocations: 103.4 kB / 443.8 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.004227, allocations: 71.69 kB / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.004379, allocations: 107.6 kB / 443.9 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.004471, allocations: 12 kB / 444 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.004558, allocations: 55.83 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.979e-05/0.004628, allocations: 27.91 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.004645, allocations: 4 kB / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.004723, allocations: 43.92 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.004778, allocations: 27.84 kB / 444.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.004815, allocations: 19.92 kB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004988, allocations: 119.6 kB / 444.3 MB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004991, allocations: 3.938 kB / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.004992, allocations: 0 / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004997, allocations: 0 / 444.3 MB, free: 324 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.1689/0.1739, allocations: 355.4 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1739, allocations: 8.281 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.1739, allocations: 13.5 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1742, allocations: 151.7 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1742, allocations: 5.031 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.1742, allocations: 384 / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1743, allocations: 59.41 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1744, allocations: 0 / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1744, allocations: 3.531 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1744, allocations: 0 / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.1744, allocations: 29.42 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.1747, allocations: 232.6 kB / 445.1 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1748, allocations: 59 kB / 445.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.1748, allocations: 16.98 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1748, allocations: 6.219 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.175, allocations: 69.45 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.175, allocations: 0 / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004044/0.1754, allocations: 193.3 kB / 445.4 MB, free: 46.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.1754, allocations: 54.73 kB / 445.5 MB, free: 46.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1755, allocations: 210.7 kB / 445.7 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.1755, allocations: 28.3 kB / 445.7 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.1755, allocations: 109.1 kB / 445.8 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.1756, allocations: 23.7 kB / 445.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.1756, allocations: 25.53 kB / 445.9 MB, free: 45.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.871e-05/0.1756, allocations: 323.4 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.1757, allocations: 23.02 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.1757, allocations: 39.16 kB / 446.3 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.1758, allocations: 58.64 kB / 446.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1758, allocations: 0.9688 kB / 446.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001056/0.1759, allocations: 117.5 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1759, allocations: 6.469 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1759, allocations: 3 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1759, allocations: 2.297 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.176, allocations: 26.22 kB / 446.5 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.176, allocations: 2.875 kB / 446.5 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.176, allocations: 2.781 kB / 446.5 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.176, allocations: 2.844 kB / 446.5 MB, free: 45.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.493e-05/0.1761, allocations: 127.1 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.1761, allocations: 19.67 kB / 446.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.1762, allocations: 121.9 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1762, allocations: 0 / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1762, allocations: 4.469 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1762, allocations: 3.141 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1765, allocations: 350.2 kB / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1765, allocations: 0 / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.1765, allocations: 14.44 kB / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1765, allocations: 3.438 kB / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1765, allocations: 2.875 kB / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1765, allocations: 0 / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1765, allocations: 0 / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.1766, allocations: 219.3 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.1766, allocations: 11.55 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.1767, allocations: 2.812 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.1767, allocations: 5.516 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.1767, allocations: 9.672 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1767, allocations: 13.44 kB / 447.4 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.527e-05/0.1768, allocations: 155.6 kB / 447.5 MB, free: 44.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1768, allocations: 3.938 kB / 447.5 MB, free: 44.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.177, allocations: 25.95 kB / 447.5 MB, free: 44.84 MB / 410.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007752/0.1778, allocations: 0.4955 MB / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.1779, allocations: 57.22 kB / 448.1 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1779, allocations: 0 / 448.1 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/0.1779, allocations: 28.84 kB / 448.1 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.1782, allocations: 34.22 kB / 448.2 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.1785, allocations: 277.9 kB / 448.4 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.1786, allocations: 98.38 kB / 448.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.1786, allocations: 16.94 kB / 448.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1786, allocations: 0 / 448.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of Templates: time 0.002501/0.1811, allocations: 2.037 MB / 450.6 MB, free: 44.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.1017756555229425]