Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001066/0.001066, allocations: 80.41 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.001071/0.001071, allocations: 169.4 kB / 25.61 MB, free: 8.902 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 1.03/1.03, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1487/0.1487, allocations: 34.25 MB / 296.8 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.194e-05, allocations: 2.312 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001783/0.001795, allocations: 1.701 MB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.002836, allocations: 0.978 MB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.00291, allocations: 7.938 kB / 382.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.003207, allocations: 51.8 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.003485, allocations: 115.4 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.003641, allocations: 83.59 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003767, allocations: 103.7 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.003806, allocations: 8.219 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.003884, allocations: 55.77 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.003961, allocations: 43.89 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.003974, allocations: 4 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.567e-05/0.004029, allocations: 39.92 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.004067, allocations: 23.86 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.004095, allocations: 19.92 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.004218, allocations: 83.67 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.542e-06/0.00422, allocations: 0 / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004221, allocations: 0 / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.004225, allocations: 0 / 382.7 MB, free: 20.01 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003175/0.004542, allocations: 443.9 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.004569, allocations: 12.03 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.004599, allocations: 12.89 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.004709, allocations: 159 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.004722, allocations: 384 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.00473, allocations: 4.375 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.962e-05/0.00481, allocations: 58.94 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.004819, allocations: 7.875 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.004826, allocations: 3.938 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.004832, allocations: 0 / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.004855, allocations: 7.984 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.618e-05/0.004941, allocations: 113.3 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.005016, allocations: 43.11 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.005033, allocations: 15.67 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.005044, allocations: 4 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.387e-05/0.005118, allocations: 68.97 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.005118, allocations: 0 / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001434/0.005262, allocations: 81.53 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.005282, allocations: 55.41 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.005364, allocations: 225.8 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.00537, allocations: 25.7 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.005399, allocations: 154.8 kB / 384.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.005423, allocations: 11.94 kB / 384.1 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.005446, allocations: 27.36 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.005488, allocations: 0.5001 MB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.0055, allocations: 11.94 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.005517, allocations: 19.38 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.005547, allocations: 35.36 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005548, allocations: 0 / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.795e-05/0.005606, allocations: 73.53 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.005616, allocations: 6.188 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.005619, allocations: 4.031 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.005628, allocations: 3.938 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.005674, allocations: 12 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.005676, allocations: 480 / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.005703, allocations: 7.922 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.005708, allocations: 8 kB / 384.9 MB, free: 17.61 MB / 314.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 (7): * Single equations (assignments): 7 * 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 4.734e-05/0.005755, allocations: 171.6 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.005767, allocations: 11.91 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.941e-05/0.005847, allocations: 82.81 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.005849, allocations: 11.94 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.00585, allocations: 0 / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005853, allocations: 0 / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.9e-05/0.005912, allocations: 121.2 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005913, allocations: 3.938 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.005928, allocations: 4 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005929, allocations: 0 / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.005933, allocations: 4 kB / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005934, allocations: 0 / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005935, allocations: 0 / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.753e-05/0.006002, allocations: 120.2 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.006013, allocations: 19.94 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.006026, allocations: 0 / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.006043, allocations: 7.984 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.006064, allocations: 4 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.006072, allocations: 7.938 kB / 385.4 MB, free: 16.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.692e-05/0.006109, allocations: 163.1 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006109, allocations: 0 / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000145/0.006254, allocations: 20 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007696/0.007023, allocations: 379.7 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.007101, allocations: 39.59 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.007102, allocations: 0 / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.007125, allocations: 23.8 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.007291, allocations: 35.98 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.00751, allocations: 199.9 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.151e-05/0.007532, allocations: 71.28 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.561e-05/0.007558, allocations: 12.47 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.007605, allocations: 86.19 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007605, allocations: 0 / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of Templates: time 0.002996/0.0106, allocations: 1.808 MB / 388.2 MB, free: 14.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.179082805290818]