Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 196.5 kB / 17.43 MB, free: 4.117 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 229.5 MB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008326/0.0008329, allocations: 96.61 kB / 299.9 MB, free: 5.371 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3137/0.3137, allocations: 44.99 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003007, allocations: 11.98 kB / 470.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.377, allocations: 63.09 MB / 0.5214 GB, free: 38.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002035/0.3791, allocations: 1.434 MB / 0.5228 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.3811, allocations: 2.002 MB / 0.5247 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.782e-05/0.3812, allocations: 0 / 0.5247 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.3815, allocations: 41.33 kB / 0.5248 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.3817, allocations: 75.52 kB / 0.5248 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3819, allocations: 97.62 kB / 0.5249 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3821, allocations: 99.86 kB / 0.525 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.3822, allocations: 12.81 kB / 0.525 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.3823, allocations: 39.69 kB / 0.5251 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.3824, allocations: 44.98 kB / 0.5251 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3824, allocations: 6.438 kB / 0.5251 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.3826, allocations: 95.84 kB / 0.5252 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.3826, allocations: 16.41 kB / 0.5252 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.3827, allocations: 65.02 kB / 0.5253 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.3829, allocations: 164 kB / 0.5255 GB, free: 35.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3829, allocations: 0 / 0.5255 GB, free: 35.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3829, allocations: 0 / 0.5255 GB, free: 35.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.3829, allocations: 0 / 0.5255 GB, free: 35.27 MB / 378.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.0004451/0.3834, allocations: 413.1 kB / 0.5259 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3834, allocations: 11.53 kB / 0.5259 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.3835, allocations: 7.844 kB / 0.5259 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.3837, allocations: 215.1 kB / 0.5261 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3837, allocations: 7.938 kB / 0.5261 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.3837, allocations: 2.562 kB / 0.5261 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3839, allocations: 70.17 kB / 0.5262 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3839, allocations: 0 / 0.5262 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3839, allocations: 0 / 0.5262 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3839, allocations: 3.609 kB / 0.5262 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.854e-05/0.384, allocations: 18.67 kB / 0.5262 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.3843, allocations: 290.1 kB / 0.5265 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.3845, allocations: 57.41 kB / 0.5265 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.3845, allocations: 22.62 kB / 0.5265 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3846, allocations: 0 / 0.5265 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.3847, allocations: 82.8 kB / 0.5266 GB, free: 34.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3847, allocations: 0 / 0.5266 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004921/0.3852, allocations: 161.7 kB / 0.5268 GB, free: 34.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3853, allocations: 90.83 kB / 0.5268 GB, free: 33.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3854, allocations: 163.2 kB / 0.527 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.3854, allocations: 25.7 kB / 0.527 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.3855, allocations: 104.8 kB / 0.5271 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.3855, allocations: 21.89 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.3855, allocations: 4 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6e-05/0.3856, allocations: 320.9 kB / 0.5275 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.3856, allocations: 23.94 kB / 0.5275 GB, free: 33.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.517e-05/0.3857, allocations: 38.05 kB / 0.5275 GB, free: 33.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.243e-05/0.3858, allocations: 66.89 kB / 0.5276 GB, free: 33.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3858, allocations: 4.219 kB / 0.5276 GB, free: 33.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001477/0.386, allocations: 93.27 kB / 0.5277 GB, free: 33.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.386, allocations: 17.75 kB / 0.5277 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.386, allocations: 0 / 0.5277 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.386, allocations: 3.094 kB / 0.5277 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3861, allocations: 15.16 kB / 0.5277 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3861, allocations: 6.625 kB / 0.5277 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.3862, allocations: 10.09 kB / 0.5277 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3862, allocations: 2.812 kB / 0.5277 GB, free: 33.23 MB / 378.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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.798e-05/0.3863, allocations: 119.8 kB / 0.5278 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.3863, allocations: 9.562 kB / 0.5279 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.3863, allocations: 15.11 kB / 0.5279 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3864, allocations: 0 / 0.5279 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3864, allocations: 3.938 kB / 0.5279 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3864, allocations: 3.031 kB / 0.5279 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.3867, allocations: 398.1 kB / 0.5283 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3867, allocations: 6.844 kB / 0.5283 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.3868, allocations: 9.688 kB / 0.5283 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3868, allocations: 6.75 kB / 0.5283 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3868, allocations: 0 / 0.5283 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3868, allocations: 3.094 kB / 0.5283 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3868, allocations: 3.938 kB / 0.5283 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.387, allocations: 198.4 kB / 0.5285 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.387, allocations: 91.27 kB / 0.5286 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3871, allocations: 6.938 kB / 0.5286 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.3871, allocations: 6.438 kB / 0.5286 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.3872, allocations: 2.969 kB / 0.5286 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3872, allocations: 5.75 kB / 0.5286 GB, free: 32.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.93e-05/0.3873, allocations: 123.1 kB / 0.5287 GB, free: 32.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3873, allocations: 0 / 0.5287 GB, free: 32.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.3875, allocations: 51.38 kB / 0.5287 GB, free: 32.35 MB / 378.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 (8): * Single equations (assignments): 6 * 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.001114/0.3887, allocations: 0.6301 MB / 0.5294 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.3888, allocations: 55.34 kB / 0.5294 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3888, allocations: 0 / 0.5294 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.3889, allocations: 31.7 kB / 0.5294 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.3892, allocations: 38.73 kB / 0.5295 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.3896, allocations: 222.5 kB / 0.5297 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3897, allocations: 0.7031 MB / 0.5304 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.556e-05/0.3898, allocations: 18.19 kB / 0.5304 GB, free: 31.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.3898, allocations: 19.41 kB / 0.5304 GB, free: 31.04 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3898, allocations: 3.938 kB / 0.5304 GB, free: 31.04 MB / 378.7 MB Notification: Performance of Templates: time 0.004478/0.3943, allocations: 2.286 MB / 0.5327 GB, free: 30.79 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches