Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00149/0.00149, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001594, allocations: 205.9 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 75.89 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4428, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003911/0.4467, allocations: 1.722 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.4503, allocations: 1.622 MB / 0.5343 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.4505, allocations: 5.094 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.451, allocations: 40.27 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.4514, allocations: 101 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.4517, allocations: 86.91 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.4519, allocations: 93.55 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.452, allocations: 18.75 kB / 0.5347 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.4522, allocations: 50.11 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.4524, allocations: 46.59 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.4524, allocations: 9.375 kB / 0.5348 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.4526, allocations: 107.2 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.4527, allocations: 24.03 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.301e-05/0.4528, allocations: 32.05 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.4532, allocations: 170.6 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4532, allocations: 1.375 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4532, allocations: 0 / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.4532, allocations: 0 / 0.5351 GB, free: 10.48 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.0007412/0.4539, allocations: 432.4 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.454, allocations: 9.625 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.4541, allocations: 8.969 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.4545, allocations: 215 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4545, allocations: 9.25 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.4546, allocations: 10.73 kB / 0.5358 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.4548, allocations: 66.14 kB / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4548, allocations: 0 / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4548, allocations: 5.406 kB / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4548, allocations: 0 / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.295e-05/0.4549, allocations: 18.61 kB / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.4554, allocations: 281.8 kB / 0.5361 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.4556, allocations: 61.8 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.4557, allocations: 25.78 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.4557, allocations: 0.8438 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.4559, allocations: 65.52 kB / 0.5363 GB, free: 9.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.4559, allocations: 0 / 0.5363 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006264/0.4565, allocations: 169.1 kB / 0.5364 GB, free: 9.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/0.4566, allocations: 86.11 kB / 0.5365 GB, free: 9.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.4568, allocations: 166 kB / 0.5367 GB, free: 8.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.4569, allocations: 30.95 kB / 0.5367 GB, free: 8.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.457, allocations: 100 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.457, allocations: 32.03 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.457, allocations: 20.28 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4572, allocations: 321.1 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.4572, allocations: 23.17 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.591e-05/0.4574, allocations: 44.94 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.4575, allocations: 63.23 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4575, allocations: 1.344 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.4577, allocations: 93.97 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4577, allocations: 5.531 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4577, allocations: 1.531 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4578, allocations: 1.125 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.4579, allocations: 24.33 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4579, allocations: 5 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.458, allocations: 10.31 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.458, allocations: 3.562 kB / 0.5374 GB, free: 8.273 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.0001295/0.4581, allocations: 120.6 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.4581, allocations: 16.28 kB / 0.5375 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.4582, allocations: 12.31 kB / 0.5375 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.4582, allocations: 1.125 kB / 0.5375 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4582, allocations: 5.094 kB / 0.5375 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4582, allocations: 4 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.4587, allocations: 396.5 kB / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4587, allocations: 4.922 kB / 0.5379 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.4588, allocations: 10.78 kB / 0.5379 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4588, allocations: 0.9062 kB / 0.5379 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4588, allocations: 6.141 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4588, allocations: 1 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4588, allocations: 0.6562 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.4591, allocations: 207.8 kB / 0.5382 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.4591, allocations: 92.41 kB / 0.5382 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.4592, allocations: 2.156 kB / 0.5382 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.4593, allocations: 9.781 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.4593, allocations: 7.141 kB / 0.5383 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4593, allocations: 3.875 kB / 0.5383 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.4594, allocations: 131.6 kB / 0.5384 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4595, allocations: 0 / 0.5384 GB, free: 7.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.4598, allocations: 46.2 kB / 0.5384 GB, free: 7.312 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.001293/0.4611, allocations: 0.5343 MB / 0.539 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.4613, allocations: 57.73 kB / 0.539 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4613, allocations: 1.125 kB / 0.539 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.4614, allocations: 33.67 kB / 0.539 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.4618, allocations: 39.81 kB / 0.5391 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.4622, allocations: 195.1 kB / 0.5393 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.4625, allocations: 0.7024 MB / 0.54 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.4626, allocations: 19.7 kB / 0.54 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.4627, allocations: 21.08 kB / 0.54 GB, free: 6.074 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4627, allocations: 0 / 0.54 GB, free: 6.074 MB / 398.1 MB Notification: Performance of Templates: time 0.006563/0.4693, allocations: 2.369 MB / 0.5423 GB, free: 4.855 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches