Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 122.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.00196/0.00196, allocations: 197.2 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.492/1.492, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2463/0.2463, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 71.89 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4492, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.00297/0.4522, allocations: 1.72 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.4539, allocations: 1.022 MB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.4539, allocations: 1.375 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.4542, allocations: 44.14 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.4546, allocations: 99.03 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.4548, allocations: 76.3 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.455, allocations: 104.9 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.4551, allocations: 18.84 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.4552, allocations: 46.84 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.992e-05/0.4552, allocations: 30.8 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.4553, allocations: 4.125 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.4554, allocations: 43.47 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.4554, allocations: 22.8 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.4555, allocations: 39.92 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.4557, allocations: 128 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4557, allocations: 0 / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4557, allocations: 5.375 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4557, allocations: 0 / 0.5344 GB, free: 11.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004992/0.4562, allocations: 425.3 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.4563, allocations: 9.281 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.4563, allocations: 10.33 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.4565, allocations: 221.1 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.4566, allocations: 1.562 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.4566, allocations: 7.125 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.4567, allocations: 61.36 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4568, allocations: 1.312 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4568, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.4568, allocations: 1.375 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/0.4569, allocations: 21.45 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.4572, allocations: 292.2 kB / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.4574, allocations: 62.5 kB / 0.5355 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.4575, allocations: 20.81 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.4575, allocations: 1.062 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.4577, allocations: 65.83 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.4577, allocations: 3.938 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005595/0.4583, allocations: 178 kB / 0.5357 GB, free: 9.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.4583, allocations: 56.38 kB / 0.5358 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.4585, allocations: 208.4 kB / 0.536 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.4586, allocations: 30.83 kB / 0.536 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.4586, allocations: 101.8 kB / 0.5361 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.4587, allocations: 23.19 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.4587, allocations: 24.53 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4589, allocations: 327.4 kB / 0.5365 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.459, allocations: 26.23 kB / 0.5365 GB, free: 9.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.308e-05/0.459, allocations: 43.92 kB / 0.5365 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.4592, allocations: 58.92 kB / 0.5366 GB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4592, allocations: 0 / 0.5366 GB, free: 8.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002094/0.4594, allocations: 104.4 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4594, allocations: 5.219 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4594, allocations: 0 / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4595, allocations: 5.219 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.4596, allocations: 17.48 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4596, allocations: 1.375 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.4596, allocations: 6.219 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.4596, allocations: 3.094 kB / 0.5367 GB, free: 8.879 MB / 398.1 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 0.0001197/0.4598, allocations: 134.3 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.4598, allocations: 17.09 kB / 0.5369 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.4599, allocations: 18.98 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4599, allocations: 2.375 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.4599, allocations: 4 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4599, allocations: 3.938 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.4604, allocations: 391.9 kB / 0.5373 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4604, allocations: 0 / 0.5373 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.4604, allocations: 16.58 kB / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4604, allocations: 0 / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4604, allocations: 6.281 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4604, allocations: 1.344 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4604, allocations: 4.031 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.4607, allocations: 217 kB / 0.5375 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.4607, allocations: 83.78 kB / 0.5376 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.4608, allocations: 6.594 kB / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.4608, allocations: 5.391 kB / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.4609, allocations: 3.656 kB / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.4609, allocations: 10.75 kB / 0.5376 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.4611, allocations: 163 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4611, allocations: 0 / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000253/0.4613, allocations: 25.12 kB / 0.5378 GB, free: 7.895 MB / 398.1 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.001136/0.4625, allocations: 455.1 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.4627, allocations: 61.28 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.4627, allocations: 1.156 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.4628, allocations: 33.8 kB / 0.5383 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.4632, allocations: 28.2 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.4638, allocations: 245 kB / 0.5386 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4642, allocations: 0.7038 MB / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.068e-05/0.4643, allocations: 17.94 kB / 0.5393 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.4644, allocations: 15.5 kB / 0.5393 GB, free: 6.688 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4644, allocations: 0 / 0.5393 GB, free: 6.688 MB / 398.1 MB Notification: Performance of Templates: time 0.005406/0.4698, allocations: 1.752 MB / 0.541 GB, free: 5.797 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches