Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009267/0.0009267, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.006633/0.006633, allocations: 161.3 kB / 24.7 MB, free: 8.914 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.9357/0.9357, allocations: 177.2 MB / 205 MB, free: 5.715 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.2459/0.2459, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 440.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.946e-05, allocations: 6.219 kB / 440.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003413/0.003442, allocations: 1.876 MB / 442.8 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.005365, allocations: 1.078 MB / 443.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.005481, allocations: 0 / 443.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.005871, allocations: 259.2 kB / 444.1 MB, free: 420 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.006223, allocations: 239.1 kB / 444.4 MB, free: 180 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.006421, allocations: 123.5 kB / 444.5 MB, free: 56 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1668/0.1732, allocations: 280.4 kB / 444.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1733, allocations: 24.91 kB / 444.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1735, allocations: 155.2 kB / 444.9 MB, free: 44.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1737, allocations: 199.5 kB / 445.1 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1737, allocations: 8.719 kB / 445.2 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1738, allocations: 58.84 kB / 445.2 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.1739, allocations: 71.27 kB / 445.3 MB, free: 44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.1739, allocations: 45.66 kB / 445.3 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1741, allocations: 249 kB / 445.6 MB, free: 43.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1741, allocations: 2.938 kB / 445.6 MB, free: 43.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1741, allocations: 0 / 445.6 MB, free: 43.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1742, allocations: 3.328 kB / 445.6 MB, free: 43.97 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004622/0.1746, allocations: 0.5146 MB / 446.1 MB, free: 43.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1746, allocations: 8.469 kB / 446.1 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.1747, allocations: 35.77 kB / 446.1 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1749, allocations: 232.3 kB / 446.4 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.175, allocations: 10.16 kB / 446.4 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.175, allocations: 8.688 kB / 446.4 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1751, allocations: 111.2 kB / 446.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1751, allocations: 0 / 446.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1751, allocations: 13.81 kB / 446.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1752, allocations: 0 / 446.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.1752, allocations: 53.2 kB / 446.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.1756, allocations: 414.2 kB / 447 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1758, allocations: 128.9 kB / 447.1 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.1758, allocations: 45.77 kB / 447.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.1759, allocations: 6.625 kB / 447.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.176, allocations: 120 kB / 447.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 8.72e-07/0.176, allocations: 0 / 447.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.000727/0.1767, allocations: 0.5287 MB / 447.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.1767, allocations: 80.08 kB / 447.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.177, allocations: 0.5021 MB / 448.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.177, allocations: 34.23 kB / 448.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.1771, allocations: 169.6 kB / 448.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.1771, allocations: 72.31 kB / 448.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1771, allocations: 44.56 kB / 448.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.1772, allocations: 345.9 kB / 449 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.855e-05/0.1773, allocations: 62.25 kB / 449.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.1773, allocations: 94.81 kB / 449.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1775, allocations: 162.6 kB / 449.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1775, allocations: 3.562 kB / 449.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002073/0.1777, allocations: 249.3 kB / 449.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1777, allocations: 9.156 kB / 449.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1777, allocations: 0 / 449.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1777, allocations: 2.781 kB / 449.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.1778, allocations: 42.27 kB / 449.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1778, allocations: 2.812 kB / 449.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.1778, allocations: 16.41 kB / 449.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1778, allocations: 12.88 kB / 449.7 MB, free: 41.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.879e-05/0.1779, allocations: 171.4 kB / 449.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.178, allocations: 36.73 kB / 449.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.1782, allocations: 286.3 kB / 450.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1782, allocations: 2.812 kB / 450.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1782, allocations: 0 / 450.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1783, allocations: 11.28 kB / 450.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.1787, allocations: 0.6768 MB / 450.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1787, allocations: 3.938 kB / 450.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.1787, allocations: 35.09 kB / 450.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1787, allocations: 2.844 kB / 450.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1788, allocations: 6.109 kB / 450.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1788, allocations: 6.188 kB / 450.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1788, allocations: 6.719 kB / 450.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.179, allocations: 452.7 kB / 451.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.179, allocations: 34.77 kB / 451.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.179, allocations: 9.875 kB / 451.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.1791, allocations: 9.75 kB / 451.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1791, allocations: 23.56 kB / 451.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1792, allocations: 8.375 kB / 451.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.1793, allocations: 384.3 kB / 451.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1793, allocations: 0 / 451.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.1796, allocations: 47.62 kB / 451.8 MB, free: 40.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008012/0.1804, allocations: 0.5625 MB / 452.4 MB, free: 40.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1805, allocations: 157.4 kB / 452.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1806, allocations: 0 / 452.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.1806, allocations: 79.12 kB / 452.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.181, allocations: 70.8 kB / 452.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.1815, allocations: 0.6362 MB / 453.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.325e-05/0.1816, allocations: 183.6 kB / 453.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.1816, allocations: 31 kB / 453.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1816, allocations: 0 / 453.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of Templates: time 0.003361/0.185, allocations: 4.024 MB / 457.6 MB, free: 39.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.013486384414136]