Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001393, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2527/0.2527, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 80.09 kB / 481.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4358, allocations: 62.42 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003971/0.4398, allocations: 1.93 MB / 0.533 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.4422, allocations: 1.121 MB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.4424, allocations: 2.75 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.4429, allocations: 218.6 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.4436, allocations: 229.6 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.444, allocations: 112.5 kB / 0.5346 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.4445, allocations: 258 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.4447, allocations: 36.98 kB / 0.5349 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.445, allocations: 120.5 kB / 0.535 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.4452, allocations: 157 kB / 0.5351 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.4453, allocations: 8.688 kB / 0.5352 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.4455, allocations: 62.83 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.4456, allocations: 61.19 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.4458, allocations: 90.92 kB / 0.5354 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.4462, allocations: 244.2 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4462, allocations: 0 / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4462, allocations: 0 / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4462, allocations: 7.938 kB / 0.5356 GB, free: 10.31 MB / 398.1 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.0008871/0.4471, allocations: 0.5731 MB / 0.5362 GB, free: 9.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4472, allocations: 9.375 kB / 0.5362 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.077e-05/0.4472, allocations: 31.22 kB / 0.5362 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.4477, allocations: 286.4 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.4477, allocations: 11.67 kB / 0.5365 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.4478, allocations: 9.375 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.448, allocations: 116 kB / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.4481, allocations: 0 / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4481, allocations: 1.406 kB / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4481, allocations: 1.562 kB / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.4482, allocations: 45.69 kB / 0.5367 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.4489, allocations: 489.8 kB / 0.5371 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.4493, allocations: 118.4 kB / 0.5372 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4494, allocations: 49.44 kB / 0.5373 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.4495, allocations: 2.531 kB / 0.5373 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.4497, allocations: 119.6 kB / 0.5374 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.4497, allocations: 0 / 0.5374 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00163/0.4514, allocations: 0.5077 MB / 0.5379 GB, free: 8.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.4514, allocations: 88.45 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/0.452, allocations: 440.2 kB / 0.5384 GB, free: 8.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.452, allocations: 32.11 kB / 0.5384 GB, free: 7.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.4522, allocations: 167.6 kB / 0.5386 GB, free: 7.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.4523, allocations: 70.48 kB / 0.5387 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.4523, allocations: 44.45 kB / 0.5387 GB, free: 7.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4525, allocations: 345.4 kB / 0.539 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.4526, allocations: 57.08 kB / 0.5391 GB, free: 7.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.4528, allocations: 103.8 kB / 0.5392 GB, free: 7.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.4531, allocations: 152.8 kB / 0.5393 GB, free: 7.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4531, allocations: 0 / 0.5393 GB, free: 7.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004403/0.4535, allocations: 240 kB / 0.5396 GB, free: 7.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4535, allocations: 8.469 kB / 0.5396 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4536, allocations: 1.062 kB / 0.5396 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4536, allocations: 2.875 kB / 0.5396 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.4537, allocations: 41.73 kB / 0.5396 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.4537, allocations: 6.625 kB / 0.5396 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.4539, allocations: 15.06 kB / 0.5396 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.4539, allocations: 11.75 kB / 0.5396 GB, free: 7.047 MB / 398.1 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 0.0001649/0.454, allocations: 164.4 kB / 0.5398 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.4541, allocations: 39.27 kB / 0.5398 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.125e-05/0.4542, allocations: 39.62 kB / 0.5399 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4542, allocations: 2.75 kB / 0.5399 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4542, allocations: 1.031 kB / 0.5399 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4542, allocations: 7.922 kB / 0.5399 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.4553, allocations: 0.7317 MB / 0.5406 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4553, allocations: 1.375 kB / 0.5406 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.738e-05/0.4554, allocations: 35.73 kB / 0.5406 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4554, allocations: 2.125 kB / 0.5406 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.4554, allocations: 8.766 kB / 0.5406 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.4554, allocations: 2.062 kB / 0.5406 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4554, allocations: 2.344 kB / 0.5406 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.4561, allocations: 431.6 kB / 0.5411 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4562, allocations: 105.5 kB / 0.5412 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.4563, allocations: 7.344 kB / 0.5412 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.4565, allocations: 12.58 kB / 0.5412 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.4566, allocations: 20.83 kB / 0.5412 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.4566, allocations: 8.781 kB / 0.5412 GB, free: 5.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000537/0.4571, allocations: 334.8 kB / 0.5415 GB, free: 5.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4571, allocations: 0 / 0.5415 GB, free: 5.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.4576, allocations: 52.67 kB / 0.5416 GB, free: 5.539 MB / 398.1 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 (22): * Single equations (assignments): 18 * 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.001362/0.4589, allocations: 0.5131 MB / 0.5421 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.4594, allocations: 159.2 kB / 0.5422 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4594, allocations: 0 / 0.5422 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.4596, allocations: 83.97 kB / 0.5423 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.4602, allocations: 63.19 kB / 0.5424 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.4613, allocations: 0.5621 MB / 0.5429 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.4617, allocations: 0.7816 MB / 0.5437 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.4618, allocations: 37.11 kB / 0.5437 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.4619, allocations: 25.56 kB / 0.5437 GB, free: 3.996 MB / 398.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4619, allocations: 3.938 kB / 0.5437 GB, free: 3.992 MB / 398.1 MB Notification: Performance of Templates: time 0.0083/0.4702, allocations: 3.185 MB / 0.5469 GB, free: 1.316 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches