Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00213/0.00213, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002017, allocations: 199.8 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, 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.2466/0.2466, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001605, allocations: 83.8 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4746, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004406/0.4791, allocations: 1.729 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.4811, allocations: 1.022 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.4812, allocations: 5.375 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.4816, allocations: 44.12 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.4819, allocations: 96.47 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.4821, allocations: 74.94 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.4823, allocations: 104.9 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.4825, allocations: 14.86 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.4826, allocations: 40.3 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.4827, allocations: 42.72 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.4827, allocations: 4.125 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4828, allocations: 39.48 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.4829, allocations: 18.8 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.483, allocations: 41.34 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.4832, allocations: 125.9 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4832, allocations: 1.344 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4832, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.4832, allocations: 4 kB / 0.5344 GB, free: 11.03 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.0006365/0.4839, allocations: 420.1 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4839, allocations: 9.875 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.484, allocations: 13.69 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.4843, allocations: 217.2 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4844, allocations: 1.562 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.4844, allocations: 11.05 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.4846, allocations: 53.67 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4846, allocations: 4 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4846, allocations: 3.984 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4846, allocations: 1 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.4847, allocations: 22.3 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.4851, allocations: 288.3 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.4853, allocations: 53.53 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.4854, allocations: 26.69 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.4854, allocations: 3.938 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.4856, allocations: 69.7 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.486e-06/0.4856, allocations: 0 / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006172/0.4862, allocations: 190.7 kB / 0.5357 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.4863, allocations: 52.53 kB / 0.5358 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4865, allocations: 212.1 kB / 0.536 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4865, allocations: 26.83 kB / 0.536 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.4866, allocations: 100.9 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.4867, allocations: 27.45 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.4867, allocations: 20.66 kB / 0.5361 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4869, allocations: 330.3 kB / 0.5365 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.782e-05/0.4869, allocations: 19.39 kB / 0.5365 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.487, allocations: 39.48 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.4871, allocations: 62.61 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4872, allocations: 1.219 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.4874, allocations: 103.7 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4874, allocations: 5.125 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4874, allocations: 0 / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4874, allocations: 1.406 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.4875, allocations: 21.55 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4875, allocations: 1.094 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.4876, allocations: 10 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.4876, allocations: 2.094 kB / 0.5367 GB, free: 8.855 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.0001212/0.4877, allocations: 128.6 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.4878, allocations: 10.38 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.4878, allocations: 18.67 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4878, allocations: 1.375 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4878, allocations: 4 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4879, allocations: 7.875 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.4884, allocations: 391.4 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4884, allocations: 1.031 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.4884, allocations: 15.58 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4884, allocations: 1.156 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.4884, allocations: 5.281 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4884, allocations: 1.719 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4884, allocations: 0 / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.4887, allocations: 205 kB / 0.5375 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.4888, allocations: 88.27 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.4888, allocations: 13.42 kB / 0.5376 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.4889, allocations: 6.812 kB / 0.5376 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.4889, allocations: 7.844 kB / 0.5376 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.489, allocations: 10.83 kB / 0.5376 GB, free: 8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.4891, allocations: 163 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4891, allocations: 0 / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.4894, allocations: 21.31 kB / 0.5378 GB, free: 7.883 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.001152/0.4906, allocations: 463.9 kB / 0.5382 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.4908, allocations: 65.53 kB / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4908, allocations: 0 / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.821e-05/0.4909, allocations: 34.16 kB / 0.5383 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.4913, allocations: 31.81 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.4918, allocations: 237.2 kB / 0.5386 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.4922, allocations: 0.7106 MB / 0.5392 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.4922, allocations: 14.78 kB / 0.5393 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.4923, allocations: 14.84 kB / 0.5393 GB, free: 6.672 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4923, allocations: 1.094 kB / 0.5393 GB, free: 6.672 MB / 398.1 MB Notification: Performance of Templates: time 0.004961/0.4972, allocations: 1.743 MB / 0.541 GB, free: 5.789 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches