Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001881/0.001881, allocations: 100.2 kB / 20.96 MB, free: 3.59 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.001606/0.001606, allocations: 160.9 kB / 24.27 MB, free: 296 kB / 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 1.491/1.491, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3709/0.3709, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.177e-05/4.393e-05, allocations: 6.25 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003567/0.00361, allocations: 1.735 MB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.005586, allocations: 0.9814 MB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.005658, allocations: 3.938 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.006045, allocations: 91.61 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.006422, allocations: 115.5 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.006657, allocations: 91.53 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.006897, allocations: 131.5 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.007004, allocations: 11.98 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.007141, allocations: 67.81 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.007272, allocations: 59.86 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.007297, allocations: 8 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.00743, allocations: 59.91 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.007499, allocations: 27.86 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.007559, allocations: 23.91 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.007849, allocations: 139.5 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.007852, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.007853, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.007858, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006258/0.008484, allocations: 365.4 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.008519, allocations: 8.031 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.008597, allocations: 20.84 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.008908, allocations: 166.2 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.008931, allocations: 12.38 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.008955, allocations: 384 / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.009127, allocations: 58.23 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.009141, allocations: 4.172 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.009156, allocations: 8.375 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.009163, allocations: 3.938 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.919e-05/0.009252, allocations: 23.98 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.00968, allocations: 248.5 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.009948, allocations: 62.48 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.01001, allocations: 16.98 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.01003, allocations: 7.938 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.0102, allocations: 75.31 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.01021, allocations: 4 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008729/0.01108, allocations: 257.6 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.01113, allocations: 51.41 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.01141, allocations: 239.6 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.01144, allocations: 29.7 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.01156, allocations: 112.1 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.01161, allocations: 39.75 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.01168, allocations: 29.72 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.01187, allocations: 326.8 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.01195, allocations: 35.98 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.724e-05/0.01205, allocations: 48.58 kB / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.01223, allocations: 85.58 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01223, allocations: 0 / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002905/0.01252, allocations: 133.5 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01254, allocations: 4 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01255, allocations: 0 / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.01257, allocations: 7.938 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.01266, allocations: 24.02 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.01266, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.01272, allocations: 8 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.01273, allocations: 4 kB / 383.3 MB, free: 12.59 MB / 362.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 (13): * Single equations (assignments): 13 * 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 0.0001533/0.01288, allocations: 136 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.01292, allocations: 15.91 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.01327, allocations: 163 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.01327, allocations: 0 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.01328, allocations: 0 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01328, allocations: 0 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006272/0.01391, allocations: 411.7 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.01391, allocations: 4 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.01397, allocations: 12 kB / 384 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-06/0.01397, allocations: 7.984 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.01399, allocations: 3.984 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.014, allocations: 4 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.014, allocations: 0 / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.01436, allocations: 249.3 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.01439, allocations: 15.95 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.01441, allocations: 8 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.01449, allocations: 4 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.01454, allocations: 11.92 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.01456, allocations: 8 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000187/0.01475, allocations: 175.2 kB / 384.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01475, allocations: 0 / 384.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.01504, allocations: 39.92 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002515/0.01755, allocations: 0.5333 MB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.0178, allocations: 79.91 kB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.0178, allocations: 0 / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.01791, allocations: 43.86 kB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.0183, allocations: 31.97 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.01896, allocations: 301.9 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.0191, allocations: 110 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.01916, allocations: 12.64 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.01922, allocations: 20.5 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01922, allocations: 0 / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of Templates: time 0.006118/0.02534, allocations: 2.112 MB / 387.8 MB, free: 8.203 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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: 4.806332287029363]