Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001984/0.001983, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00222/0.00222, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, 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.2255/0.2255, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 71.89 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4514, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003351/0.4548, allocations: 1.729 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.4575, allocations: 1.625 MB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.4576, allocations: 0.9375 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.4579, allocations: 36.69 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.4583, allocations: 101.1 kB / 0.5345 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.4585, allocations: 74.36 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.4587, allocations: 117.6 kB / 0.5347 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.4588, allocations: 14.64 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.4589, allocations: 49.98 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.4591, allocations: 43.81 kB / 0.5348 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.4591, allocations: 10.17 kB / 0.5348 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.4594, allocations: 111.5 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.4594, allocations: 22.41 kB / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.4595, allocations: 40.14 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.4598, allocations: 177.3 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4599, allocations: 1.375 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4599, allocations: 4 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4599, allocations: 0 / 0.5351 GB, free: 10.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006619/0.4605, allocations: 443 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4606, allocations: 9.625 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.4607, allocations: 12.95 kB / 0.5356 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.461, allocations: 213 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.461, allocations: 1.75 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.4611, allocations: 10.88 kB / 0.5358 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.4613, allocations: 77.25 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4613, allocations: 0 / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.4613, allocations: 9 kB / 0.5359 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4613, allocations: 0.9688 kB / 0.5359 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.4614, allocations: 31.19 kB / 0.5359 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.4618, allocations: 301.9 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.462, allocations: 72.58 kB / 0.5363 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.4621, allocations: 28.53 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.4621, allocations: 1.156 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.4623, allocations: 71.5 kB / 0.5363 GB, free: 9.223 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4623, allocations: 0.9688 kB / 0.5363 GB, free: 9.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005972/0.4629, allocations: 199.3 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.463, allocations: 82.2 kB / 0.5366 GB, free: 9.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.4632, allocations: 171 kB / 0.5368 GB, free: 8.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.4632, allocations: 30.67 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.4633, allocations: 96.77 kB / 0.5369 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.4633, allocations: 32.95 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.4634, allocations: 24.86 kB / 0.537 GB, free: 8.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4635, allocations: 326.6 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.4636, allocations: 32.2 kB / 0.5373 GB, free: 8.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.4636, allocations: 47.5 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4638, allocations: 68.14 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4638, allocations: 1.25 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002309/0.464, allocations: 118.4 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4641, allocations: 9.656 kB / 0.5375 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.4641, allocations: 0 / 0.5375 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4641, allocations: 1.062 kB / 0.5375 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.4642, allocations: 22.52 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.4642, allocations: 1.219 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.4643, allocations: 10.16 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.4643, allocations: 3.562 kB / 0.5376 GB, free: 8.172 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 (11): * Single equations (assignments): 11 * 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.0001174/0.4644, allocations: 125.6 kB / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.4645, allocations: 9.281 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.4645, allocations: 17.09 kB / 0.5377 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4645, allocations: 1.531 kB / 0.5377 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.4645, allocations: 0 / 0.5377 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.4645, allocations: 9.297 kB / 0.5377 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.4651, allocations: 417.9 kB / 0.5381 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4651, allocations: 1.062 kB / 0.5381 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.4651, allocations: 13.09 kB / 0.5381 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4651, allocations: 1.188 kB / 0.5381 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4651, allocations: 9.156 kB / 0.5381 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4651, allocations: 1.062 kB / 0.5381 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4652, allocations: 1 kB / 0.5381 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.4654, allocations: 211.2 kB / 0.5383 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.4655, allocations: 88.58 kB / 0.5384 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.4655, allocations: 9.125 kB / 0.5384 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.4656, allocations: 10.3 kB / 0.5385 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.4657, allocations: 12.52 kB / 0.5385 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.4657, allocations: 7.719 kB / 0.5385 GB, free: 7.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.4658, allocations: 131.3 kB / 0.5386 GB, free: 7.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4658, allocations: 0 / 0.5386 GB, free: 7.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.4661, allocations: 47.55 kB / 0.5386 GB, free: 7.191 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 (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.001255/0.4674, allocations: 0.5354 MB / 0.5392 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.4676, allocations: 68.47 kB / 0.5392 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4676, allocations: 0 / 0.5392 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.4677, allocations: 41.36 kB / 0.5393 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.4681, allocations: 36.56 kB / 0.5393 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.4686, allocations: 215.5 kB / 0.5395 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.4688, allocations: 0.6992 MB / 0.5402 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.768e-05/0.4689, allocations: 29.53 kB / 0.5402 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.469, allocations: 23.02 kB / 0.5402 GB, free: 5.934 MB / 398.1 MB Notification: Performance of SimCode: time 1.512e-06/0.469, allocations: 4 kB / 0.5402 GB, free: 5.93 MB / 398.1 MB Notification: Performance of Templates: time 0.005503/0.4745, allocations: 2.451 MB / 0.5426 GB, free: 4.684 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches