Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001138/0.001138, allocations: 80.31 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.001144/0.001144, allocations: 173 kB / 25.61 MB, free: 8.457 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.9359/0.9359, allocations: 177.1 MB / 206.1 MB, free: 4.508 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.1659/0.1659, allocations: 32.8 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.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.369e-05, allocations: 2.312 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.005409/0.005433, allocations: 1.925 MB / 379.3 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.006869, allocations: 1.087 MB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.006971, allocations: 3.938 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.007368, allocations: 255.2 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003444/0.01081, allocations: 243 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.01108, allocations: 115.5 kB / 381 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.01134, allocations: 279.2 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.01144, allocations: 21.89 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.01161, allocations: 159.6 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.01178, allocations: 195.6 kB / 381.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.0118, allocations: 8 kB / 381.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.01192, allocations: 67.86 kB / 381.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.01198, allocations: 71.69 kB / 381.8 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.01203, allocations: 51.78 kB / 381.8 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.01226, allocations: 203.2 kB / 382 MB, free: 20.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.01227, allocations: 0 / 382 MB, free: 20.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01227, allocations: 0 / 382 MB, free: 20.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.01227, allocations: 7.938 kB / 382 MB, free: 20.82 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004854/0.01276, allocations: 0.6234 MB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.01279, allocations: 15.98 kB / 382.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.01284, allocations: 40.69 kB / 382.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.01303, allocations: 223 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.01305, allocations: 12.31 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.01307, allocations: 8.328 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.01321, allocations: 114.2 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01322, allocations: 3.938 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.01323, allocations: 0 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.01324, allocations: 8 kB / 383.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.01329, allocations: 31.89 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.01665, allocations: 475.2 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.01685, allocations: 113.9 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.01689, allocations: 35.61 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.0169, allocations: 4 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.01703, allocations: 120.3 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.01703, allocations: 0 / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007152/0.01774, allocations: 368.2 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.01777, allocations: 85.11 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.018, allocations: 426.5 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.01802, allocations: 29.7 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.0181, allocations: 227.3 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.01815, allocations: 79.36 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.01821, allocations: 55.28 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.01828, allocations: 0.5352 MB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.01832, allocations: 19.98 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.536e-05/0.01838, allocations: 78.69 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.0185, allocations: 110.9 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.0185, allocations: 3.938 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002118/0.01871, allocations: 189.2 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.01873, allocations: 4.062 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01873, allocations: 4 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01874, allocations: 4 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.01886, allocations: 43.92 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.01886, allocations: 4 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.01893, allocations: 15.92 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01894, allocations: 4 kB / 386.1 MB, free: 16.49 MB / 314.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 7.754e-05/0.01901, allocations: 172.5 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.01906, allocations: 39.77 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/0.02233, allocations: 217.4 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.02234, allocations: 11.98 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.02234, allocations: 0 / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.02235, allocations: 3.938 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.02275, allocations: 0.6986 MB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02275, allocations: 4 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.0228, allocations: 27.98 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.02281, allocations: 7.938 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.02282, allocations: 8 kB / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.02282, allocations: 16.05 kB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02282, allocations: 0 / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.02302, allocations: 0.4926 MB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.02304, allocations: 31.7 kB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.02306, allocations: 11.98 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.02314, allocations: 8 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.02318, allocations: 27.91 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.02319, allocations: 4 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.0233, allocations: 283 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0233, allocations: 0 / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.02354, allocations: 55.92 kB / 388.2 MB, free: 14.28 MB / 314.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.001054/0.02459, allocations: 498.6 kB / 388.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.02475, allocations: 111.5 kB / 388.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02475, allocations: 0 / 388.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.518e-05/0.0248, allocations: 75.5 kB / 388.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.02515, allocations: 65.38 kB / 388.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.02564, allocations: 0.5231 MB / 389.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.02568, allocations: 104.2 kB / 389.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.355e-05/0.02575, allocations: 37.92 kB / 389.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.02584, allocations: 118.2 kB / 389.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02584, allocations: 4 kB / 389.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of Templates: time 0.004876/0.03071, allocations: 3.755 MB / 393.4 MB, free: 9.191 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.3170547294430435]