Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001638/0.001638, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2631/0.2631, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.89 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.4986, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003586/0.5023, allocations: 1.742 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.5053, allocations: 1.624 MB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.5055, allocations: 1.375 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.5059, allocations: 45.33 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.5063, allocations: 99.03 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.5066, allocations: 72.36 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.5068, allocations: 104.9 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.5069, allocations: 10.86 kB / 0.5347 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.507, allocations: 53.66 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.5073, allocations: 46.89 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.5073, allocations: 4.125 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.5076, allocations: 111.6 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.5076, allocations: 20.12 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.5077, allocations: 32.66 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.5081, allocations: 170.5 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5081, allocations: 1.125 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5081, allocations: 0 / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.5082, allocations: 0 / 0.5351 GB, free: 10.5 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.0007413/0.5089, allocations: 434.5 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.509, allocations: 9.062 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.509, allocations: 12.75 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.5094, allocations: 212.3 kB / 0.5357 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.5094, allocations: 6.25 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.5095, allocations: 1.5 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.5096, allocations: 66.2 kB / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5097, allocations: 7.984 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.5097, allocations: 1.125 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.5097, allocations: 5 kB / 0.5358 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.5098, allocations: 22.3 kB / 0.5358 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.5103, allocations: 281.2 kB / 0.5361 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.5105, allocations: 62.14 kB / 0.5362 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.5106, allocations: 22.05 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.5106, allocations: 1.156 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.5108, allocations: 68.34 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.5108, allocations: 1.125 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006919/0.5115, allocations: 173.3 kB / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.5116, allocations: 90.11 kB / 0.5365 GB, free: 9.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.5118, allocations: 167 kB / 0.5367 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.5118, allocations: 26.67 kB / 0.5367 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.5119, allocations: 100.9 kB / 0.5368 GB, free: 8.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.512, allocations: 30.44 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.512, allocations: 25.62 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5122, allocations: 325 kB / 0.5372 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.5122, allocations: 23.61 kB / 0.5372 GB, free: 8.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.5123, allocations: 44.75 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.5125, allocations: 55.31 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5125, allocations: 0 / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002047/0.5127, allocations: 103.4 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5127, allocations: 5.375 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5127, allocations: 1.562 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5127, allocations: 4.062 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.5128, allocations: 16.95 kB / 0.5374 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.5129, allocations: 4.906 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.5129, allocations: 3.25 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.5129, allocations: 6.062 kB / 0.5374 GB, free: 8.285 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.0001077/0.513, allocations: 120.5 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.5131, allocations: 9.047 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.5131, allocations: 17.02 kB / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5131, allocations: 5.281 kB / 0.5376 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5132, allocations: 7.938 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5132, allocations: 0 / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.5137, allocations: 396.7 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5137, allocations: 5.156 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.5137, allocations: 14.55 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5137, allocations: 1.281 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.5137, allocations: 6.5 kB / 0.538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5138, allocations: 0 / 0.538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5138, allocations: 5 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.514, allocations: 196.5 kB / 0.5382 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.5141, allocations: 95.38 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.5141, allocations: 6.891 kB / 0.5383 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.5142, allocations: 1.5 kB / 0.5383 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.5142, allocations: 7.062 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.5143, allocations: 16.52 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.5144, allocations: 122.5 kB / 0.5384 GB, free: 7.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5144, allocations: 0 / 0.5384 GB, free: 7.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.5147, allocations: 46.16 kB / 0.5384 GB, free: 7.324 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.00163/0.5164, allocations: 0.5441 MB / 0.539 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.5166, allocations: 59.16 kB / 0.539 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.5167, allocations: 0 / 0.539 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.5168, allocations: 30.42 kB / 0.5391 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.5172, allocations: 24.58 kB / 0.5391 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.5178, allocations: 199.3 kB / 0.5393 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.5183, allocations: 0.7023 MB / 0.54 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.778e-05/0.5184, allocations: 14.94 kB / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.5184, allocations: 21.94 kB / 0.54 GB, free: 6.086 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5184, allocations: 0 / 0.54 GB, free: 6.086 MB / 398.1 MB Notification: Performance of Templates: time 0.006282/0.5247, allocations: 2.372 MB / 0.5423 GB, free: 4.867 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches