Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001247, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 202 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.466/1.466, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 71.89 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4695, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003978/0.4735, allocations: 1.695 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.4756, allocations: 0.9949 MB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4757, allocations: 5.312 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.4761, allocations: 45.7 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.4766, allocations: 101.8 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.4768, allocations: 78.92 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.477, allocations: 98.19 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.4771, allocations: 5.734 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.4772, allocations: 46.89 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.4773, allocations: 25.48 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.4774, allocations: 6.688 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.4775, allocations: 36.61 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/0.4776, allocations: 26.86 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.826e-05/0.4777, allocations: 47.86 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.478, allocations: 121.4 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.478, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.478, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.4781, allocations: 0 / 0.5343 GB, free: 11.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007269/0.4788, allocations: 446.2 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4789, allocations: 9.625 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.4789, allocations: 15.77 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.4794, allocations: 222.9 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.4794, allocations: 5.75 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.4794, allocations: 5.5 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.4796, allocations: 51.23 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4796, allocations: 1.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4796, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.4796, allocations: 4 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.4797, allocations: 16.23 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.48, allocations: 192.6 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.4802, allocations: 51.05 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.525e-05/0.4803, allocations: 20.39 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.4803, allocations: 9.109 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.4805, allocations: 68.14 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.4805, allocations: 1.031 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003482/0.4809, allocations: 96.52 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.481, allocations: 52.91 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.4813, allocations: 270.4 kB / 0.5358 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4813, allocations: 26.8 kB / 0.5358 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.4814, allocations: 116 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.4815, allocations: 25.92 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.4816, allocations: 18.44 kB / 0.536 GB, free: 9.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4817, allocations: 324.4 kB / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.4818, allocations: 15.8 kB / 0.5363 GB, free: 9.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.4819, allocations: 26.78 kB / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.482, allocations: 48.05 kB / 0.5364 GB, free: 9.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.482, allocations: 0 / 0.5364 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000193/0.4822, allocations: 88.5 kB / 0.5364 GB, free: 9.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.4822, allocations: 5.625 kB / 0.5364 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.4822, allocations: 5.047 kB / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.4823, allocations: 1.094 kB / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.997e-05/0.4824, allocations: 9.344 kB / 0.5365 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.4824, allocations: 3.938 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.4825, allocations: 14.3 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4825, allocations: 6.281 kB / 0.5365 GB, free: 9.02 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 (7): * Single equations (assignments): 7 * 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.0001547/0.4826, allocations: 145.6 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.4827, allocations: 13.72 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.658e-05/0.4827, allocations: 20.36 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4828, allocations: 1.094 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4828, allocations: 0 / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4828, allocations: 1.156 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.483, allocations: 203.4 kB / 0.5368 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.483, allocations: 0 / 0.5368 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.483, allocations: 11.39 kB / 0.5369 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4831, allocations: 0 / 0.5369 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4831, allocations: 5.094 kB / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4831, allocations: 1.125 kB / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4831, allocations: 0 / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.4833, allocations: 115 kB / 0.537 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.4834, allocations: 89.2 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.4834, allocations: 5.219 kB / 0.5371 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.4835, allocations: 5.312 kB / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.4835, allocations: 5.547 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.4835, allocations: 2.688 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.4838, allocations: 202.8 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4838, allocations: 0 / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.484, allocations: 17.92 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001082/0.4851, allocations: 405 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.4853, allocations: 39.48 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4853, allocations: 0 / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.268e-05/0.4854, allocations: 24.7 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.4857, allocations: 33.27 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.4863, allocations: 268 kB / 0.538 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4867, allocations: 0.718 MB / 0.5387 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.4867, allocations: 17.34 kB / 0.5387 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.4868, allocations: 12.72 kB / 0.5388 GB, free: 7.098 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4868, allocations: 1.188 kB / 0.5388 GB, free: 7.098 MB / 398.1 MB Notification: Performance of Templates: time 0.004848/0.4916, allocations: 1.55 MB / 0.5403 GB, free: 6.305 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches