Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 114.2 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.001576/0.001576, allocations: 201.2 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.452/1.452, 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.239/0.239, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 75.88 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4802, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003446/0.4837, allocations: 1.738 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.4858, allocations: 1.022 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.4859, allocations: 1.375 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.4864, allocations: 53.62 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.4867, allocations: 103.2 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.4869, allocations: 82.91 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.4872, allocations: 96.95 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.4873, allocations: 10.86 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-05/0.4874, allocations: 44.28 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.4875, allocations: 37.41 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.4876, allocations: 4.125 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.4877, allocations: 39.48 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.4878, allocations: 36.22 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.4878, allocations: 45.25 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.4881, allocations: 138.9 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4881, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4881, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.4882, allocations: 0 / 0.5344 GB, free: 11.02 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.0007981/0.489, allocations: 456.6 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/0.489, allocations: 10 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.4892, allocations: 15.88 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.4896, allocations: 239.9 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4896, allocations: 1.688 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.4897, allocations: 5.156 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.4899, allocations: 54.42 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4899, allocations: 1.062 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4899, allocations: 0 / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4899, allocations: 1.438 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.49, allocations: 17.89 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.4907, allocations: 312.8 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.4909, allocations: 61.78 kB / 0.5356 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.4909, allocations: 18.33 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.491, allocations: 3.984 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.4912, allocations: 69.64 kB / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 6.352e-06/0.4912, allocations: 0 / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006909/0.4919, allocations: 189 kB / 0.5358 GB, free: 9.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.492, allocations: 57.73 kB / 0.5359 GB, free: 9.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.4924, allocations: 284.4 kB / 0.5361 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.4924, allocations: 30.7 kB / 0.5362 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4925, allocations: 112.2 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.4926, allocations: 22.81 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.4926, allocations: 28.44 kB / 0.5363 GB, free: 9.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4928, allocations: 336.1 kB / 0.5367 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.4929, allocations: 16.12 kB / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.493, allocations: 34.33 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.4931, allocations: 59.52 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4931, allocations: 0 / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002091/0.4934, allocations: 118.1 kB / 0.5369 GB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.4934, allocations: 11.48 kB / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4934, allocations: 0 / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4934, allocations: 1.312 kB / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.4935, allocations: 17.47 kB / 0.5369 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4936, allocations: 1.062 kB / 0.5369 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.4936, allocations: 10.06 kB / 0.5369 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4936, allocations: 6.078 kB / 0.5369 GB, free: 8.734 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.0001712/0.4938, allocations: 140.6 kB / 0.5371 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.4938, allocations: 15.34 kB / 0.5371 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.4939, allocations: 18.06 kB / 0.5371 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4939, allocations: 5.297 kB / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4939, allocations: 0 / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.494, allocations: 3.938 kB / 0.5371 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/0.4946, allocations: 405.1 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.4946, allocations: 1.156 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.4947, allocations: 11.66 kB / 0.5375 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4947, allocations: 1.406 kB / 0.5375 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.4947, allocations: 9.25 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4947, allocations: 1.562 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4947, allocations: 0 / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.495, allocations: 210.2 kB / 0.5377 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.4951, allocations: 89.86 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.4951, allocations: 13.06 kB / 0.5378 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.4952, allocations: 2.156 kB / 0.5378 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.4953, allocations: 7.359 kB / 0.5378 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.4953, allocations: 3.406 kB / 0.5378 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000257/0.4956, allocations: 216.4 kB / 0.538 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4956, allocations: 0 / 0.538 GB, free: 7.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000295/0.4959, allocations: 30.17 kB / 0.538 GB, free: 7.738 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.001315/0.4972, allocations: 471.2 kB / 0.5385 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.4974, allocations: 54.28 kB / 0.5385 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4975, allocations: 1.094 kB / 0.5386 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.4975, allocations: 33.17 kB / 0.5386 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.4979, allocations: 35.47 kB / 0.5386 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.4985, allocations: 291.1 kB / 0.5389 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.499, allocations: 0.7244 MB / 0.5396 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.499, allocations: 17.22 kB / 0.5396 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.4991, allocations: 16.03 kB / 0.5396 GB, free: 6.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4991, allocations: 0 / 0.5396 GB, free: 6.5 MB / 398.1 MB Notification: Performance of Templates: time 0.005877/0.505, allocations: 1.782 MB / 0.5414 GB, free: 5.598 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches