Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001132/0.001132, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001277/0.001277, allocations: 170 kB / 24.91 MB, free: 9.191 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2687/0.2687, allocations: 34.27 MB / 296.1 MB, free: 0.7344 MB / 266.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.582e-05, allocations: 3.516 kB / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002658/0.002694, allocations: 1.818 MB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.003947, allocations: 1.008 MB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.439e-05/0.004021, allocations: 0 / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.004292, allocations: 43.69 kB / 328.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.004535, allocations: 91.5 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.004687, allocations: 83.59 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.004834, allocations: 107.7 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.192e-05/0.004916, allocations: 8 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.645e-05/0.005013, allocations: 51.78 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.005091, allocations: 27.89 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.005106, allocations: 4 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.005186, allocations: 43.92 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.005232, allocations: 27.86 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.005265, allocations: 20.42 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.005424, allocations: 107.6 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.005428, allocations: 3.984 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005429, allocations: 0 / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.005433, allocations: 0 / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003524/0.005785, allocations: 313.6 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.005814, allocations: 12.03 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.005845, allocations: 8.922 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.006005, allocations: 151.4 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.006018, allocations: 384 / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.006035, allocations: 8.359 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.006145, allocations: 69.75 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.006156, allocations: 7.875 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.006162, allocations: 0 / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.006167, allocations: 0 / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.006192, allocations: 8 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.006397, allocations: 166 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.64e-05/0.006483, allocations: 85.28 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.006501, allocations: 8.859 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.006513, allocations: 0 / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.694e-05/0.00661, allocations: 78.08 kB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.006611, allocations: 0 / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002871/0.006898, allocations: 113.5 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.006927, allocations: 59.38 kB / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.007031, allocations: 177.3 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.007044, allocations: 25.7 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.007076, allocations: 96.11 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.007102, allocations: 27.78 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.007136, allocations: 25.7 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.007217, allocations: 326.8 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.007232, allocations: 10.83 kB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.007256, allocations: 21.72 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.0073, allocations: 44.44 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.007301, allocations: 0 / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.678e-05/0.007388, allocations: 76.38 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.0074, allocations: 8 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.007405, allocations: 0 / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.007417, allocations: 0 / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.007481, allocations: 15.98 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.007484, allocations: 8.031 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.007513, allocations: 4 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.007519, allocations: 4 kB / 330.7 MB, free: 2.008 MB / 298.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 (10): * Single equations (assignments): 10 * 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 6.512e-05/0.007585, allocations: 116.7 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.007598, allocations: 15.86 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.007702, allocations: 75.08 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.007705, allocations: 4 kB / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.007707, allocations: 3.984 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007711, allocations: 0 / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.007941, allocations: 303.5 kB / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.007944, allocations: 4 kB / 331.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.007971, allocations: 8 kB / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007973, allocations: 0 / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.00798, allocations: 3.984 kB / 331.3 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.007982, allocations: 7.938 kB / 331.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.007983, allocations: 0 / 331.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.008088, allocations: 215 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.008099, allocations: 11.95 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.008115, allocations: 4 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.119e-05/0.008156, allocations: 12.33 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.008181, allocations: 4 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.008195, allocations: 7.984 kB / 331.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.008235, allocations: 43.66 kB / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008235, allocations: 0 / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001538/0.008389, allocations: 31.92 kB / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001531/0.009919, allocations: 0.5678 MB / 332.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.705e-05/0.01002, allocations: 40.78 kB / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.01002, allocations: 0 / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.01006, allocations: 36.77 kB / 332.2 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.01025, allocations: 33.48 kB / 332.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.01057, allocations: 215.8 kB / 332.5 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.01061, allocations: 71.33 kB / 332.5 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.01065, allocations: 17.27 kB / 332.6 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.01072, allocations: 75.3 kB / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01073, allocations: 0 / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of Templates: time 0.003784/0.01451, allocations: 2.024 MB / 334.7 MB, free: 14.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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: 2.9079716810956597]