Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.001119, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 200.6 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.585/1.585, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.282/0.282, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 79.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.5771, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003396/0.5806, allocations: 1.731 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.5825, allocations: 1.026 MB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.5825, allocations: 0 / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.5829, allocations: 47.89 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.5832, allocations: 97.08 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.5834, allocations: 75.81 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.5836, allocations: 113 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.5837, allocations: 14.67 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.5838, allocations: 39.3 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.5839, allocations: 33.61 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.5839, allocations: 4.031 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.584, allocations: 44.06 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.5841, allocations: 20.92 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.5842, allocations: 44.64 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.5844, allocations: 126 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5844, allocations: 0 / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.578e-06/0.5845, allocations: 0 / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.5845, allocations: 5.062 kB / 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.0005907/0.5851, allocations: 447.1 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5851, allocations: 10.25 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.5852, allocations: 10.52 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.5855, allocations: 219.2 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.5855, allocations: 6.406 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.5855, allocations: 6.531 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.5857, allocations: 52.95 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5857, allocations: 1.375 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.5857, allocations: 0 / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5857, allocations: 1.188 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.5858, allocations: 26.08 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.5862, allocations: 293 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.5864, allocations: 69.91 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.5865, allocations: 22.47 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.5865, allocations: 5.312 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.5866, allocations: 65.14 kB / 0.5356 GB, free: 9.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.5866, allocations: 4 kB / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005261/0.5872, allocations: 174.8 kB / 0.5358 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.5872, allocations: 53.38 kB / 0.5358 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.5875, allocations: 239.7 kB / 0.536 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.5875, allocations: 35.14 kB / 0.5361 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.5876, allocations: 110.6 kB / 0.5362 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.5876, allocations: 19.08 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.5876, allocations: 24.33 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5878, allocations: 335.1 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.5879, allocations: 19.7 kB / 0.5366 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.5879, allocations: 38.8 kB / 0.5366 GB, free: 8.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.5881, allocations: 59.88 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.5881, allocations: 0 / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.5883, allocations: 111.6 kB / 0.5368 GB, free: 8.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5883, allocations: 10.38 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5883, allocations: 0 / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.5883, allocations: 1.344 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.5884, allocations: 17.73 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.5884, allocations: 0 / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.5885, allocations: 6.562 kB / 0.5368 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.5885, allocations: 2.281 kB / 0.5368 GB, free: 8.828 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.0001102/0.5886, allocations: 132.7 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.5886, allocations: 18.44 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.5887, allocations: 15.31 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5887, allocations: 1.25 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5887, allocations: 3.984 kB / 0.537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5887, allocations: 9.062 kB / 0.537 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.5892, allocations: 393.7 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5892, allocations: 0 / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.5892, allocations: 15.61 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5892, allocations: 1.188 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.5893, allocations: 9.5 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5893, allocations: 1.344 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5893, allocations: 5.094 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.5895, allocations: 200.6 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.5896, allocations: 89.61 kB / 0.5376 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.5896, allocations: 9.016 kB / 0.5377 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.5897, allocations: 10.22 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.5898, allocations: 11.5 kB / 0.5377 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.5898, allocations: 7.359 kB / 0.5377 GB, free: 7.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.59, allocations: 169.3 kB / 0.5378 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.59, allocations: 0 / 0.5378 GB, free: 7.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.5902, allocations: 29.23 kB / 0.5379 GB, free: 7.844 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.001113/0.5913, allocations: 462.6 kB / 0.5383 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.5915, allocations: 53.48 kB / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5915, allocations: 0 / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.5916, allocations: 33.5 kB / 0.5384 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.592, allocations: 33.41 kB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.5925, allocations: 263.9 kB / 0.5387 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.5928, allocations: 0.7085 MB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.5929, allocations: 10.55 kB / 0.5394 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.5929, allocations: 28.05 kB / 0.5394 GB, free: 6.617 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5929, allocations: 0 / 0.5394 GB, free: 6.617 MB / 398.1 MB Notification: Performance of Templates: time 0.005595/0.5985, allocations: 1.764 MB / 0.5411 GB, free: 5.723 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches