Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008135/0.0008135, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00347/0.00347, allocations: 159.7 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8644/0.8644, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 34.24 MB / 295.6 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 443.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.322e-05, allocations: 4.812 kB / 443.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.1729/0.173, allocations: 1.871 MB / 445.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1741, allocations: 1.079 MB / 446.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.1741, allocations: 0 / 446.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.1745, allocations: 262 kB / 446.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.1748, allocations: 233.8 kB / 447 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.1749, allocations: 122.1 kB / 447.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.1752, allocations: 279.4 kB / 447.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1753, allocations: 16.44 kB / 447.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1754, allocations: 158.2 kB / 447.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1756, allocations: 197.9 kB / 447.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1756, allocations: 8.688 kB / 447.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.1757, allocations: 66.23 kB / 447.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.1758, allocations: 73.39 kB / 447.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.1758, allocations: 44.56 kB / 447.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.176, allocations: 250.9 kB / 448.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.176, allocations: 0 / 448.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.176, allocations: 3.938 kB / 448.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.176, allocations: 1.562 kB / 448.1 MB, free: 42.56 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.0004825/0.1765, allocations: 0.518 MB / 448.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1765, allocations: 8.375 kB / 448.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.1766, allocations: 35.45 kB / 448.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1768, allocations: 226.3 kB / 448.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1768, allocations: 16.66 kB / 448.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1769, allocations: 6.422 kB / 449 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.177, allocations: 117.8 kB / 449.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.177, allocations: 192 / 449.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.177, allocations: 7.25 kB / 449.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.177, allocations: 6.781 kB / 449.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.1771, allocations: 51.25 kB / 449.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.1774, allocations: 412.1 kB / 449.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1777, allocations: 127.4 kB / 449.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/0.1777, allocations: 49.19 kB / 449.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.1778, allocations: 5.406 kB / 449.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.1779, allocations: 128 kB / 449.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 8.62e-07/0.1779, allocations: 0 / 449.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006983/0.1786, allocations: 0.5222 MB / 450.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.1786, allocations: 80.05 kB / 450.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.1789, allocations: 0.4997 MB / 450.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.1789, allocations: 32.45 kB / 451 MB, free: 40.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.1789, allocations: 171.6 kB / 451.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.179, allocations: 78.19 kB / 451.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.179, allocations: 41.83 kB / 451.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.82e-05/0.179, allocations: 352 kB / 451.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.1791, allocations: 61.25 kB / 451.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.1792, allocations: 91.56 kB / 451.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1793, allocations: 164.2 kB / 451.9 MB, free: 39.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1793, allocations: 2.375 kB / 451.9 MB, free: 39.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001989/0.1795, allocations: 242.8 kB / 452.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1795, allocations: 7.094 kB / 452.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1795, allocations: 2.656 kB / 452.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1796, allocations: 0 / 452.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.1796, allocations: 49.47 kB / 452.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1796, allocations: 2.906 kB / 452.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.1797, allocations: 14.81 kB / 452.2 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1797, allocations: 10.89 kB / 452.2 MB, free: 39.84 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.241e-05/0.1798, allocations: 177.6 kB / 452.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1798, allocations: 36.77 kB / 452.4 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.1801, allocations: 279.3 kB / 452.7 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1801, allocations: 3 kB / 452.7 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1801, allocations: 0 / 452.7 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1801, allocations: 0 / 452.7 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.1805, allocations: 0.6965 MB / 453.4 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1805, allocations: 0 / 453.4 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.1806, allocations: 37.53 kB / 453.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1806, allocations: 6.078 kB / 453.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1806, allocations: 9.812 kB / 453.5 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1806, allocations: 6.062 kB / 453.5 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1806, allocations: 0 / 453.5 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1808, allocations: 443.8 kB / 453.9 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.1808, allocations: 38.27 kB / 453.9 MB, free: 38.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1808, allocations: 6.969 kB / 453.9 MB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.1809, allocations: 13.16 kB / 454 MB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1809, allocations: 15.17 kB / 454 MB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.181, allocations: 15.62 kB / 454 MB, free: 38.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.1811, allocations: 377.1 kB / 454.4 MB, free: 38.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1811, allocations: 0 / 454.4 MB, free: 38.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.1813, allocations: 53.36 kB / 454.4 MB, free: 38.56 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.0007794/0.1821, allocations: 0.5448 MB / 455 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1823, allocations: 163.6 kB / 455.1 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1823, allocations: 0 / 455.1 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.1824, allocations: 84.66 kB / 455.2 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1827, allocations: 53.88 kB / 455.3 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.1833, allocations: 0.6471 MB / 455.9 MB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.85e-05/0.1833, allocations: 177.3 kB / 456.1 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.1834, allocations: 39.33 kB / 456.1 MB, free: 37.76 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1834, allocations: 0 / 456.1 MB, free: 37.76 MB / 410.7 MB Notification: Performance of Templates: time 0.003382/0.1868, allocations: 4.015 MB / 460.1 MB, free: 37.24 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.142653485760093]