Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, 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.001617/0.001618, allocations: 205.2 kB / 18.74 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.495/1.495, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2575/0.2575, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 76.09 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5081, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003979/0.5121, allocations: 1.756 MB / 0.5328 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.5142, allocations: 1.02 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.5143, allocations: 0 / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004085/0.5147, allocations: 94.17 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.5151, allocations: 128.7 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.5154, allocations: 76.3 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.5156, allocations: 118.6 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.5157, allocations: 16.23 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.5159, allocations: 59.08 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.5161, allocations: 60.81 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.5161, allocations: 8.125 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.5163, allocations: 66.09 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.5164, allocations: 28.89 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.868e-05/0.5164, allocations: 41.19 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.5167, allocations: 139.3 kB / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5167, allocations: 1.094 kB / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.5168, allocations: 0 / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.5168, allocations: 3.984 kB / 0.5346 GB, free: 10.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006449/0.5174, allocations: 449.8 kB / 0.535 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5175, allocations: 14.22 kB / 0.535 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.5175, allocations: 18.12 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.5179, allocations: 224.1 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.5179, allocations: 6.031 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.5179, allocations: 6.562 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.5182, allocations: 61.16 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5182, allocations: 0 / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.5183, allocations: 1.125 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5183, allocations: 1.344 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.5184, allocations: 23.55 kB / 0.5354 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.519, allocations: 313.5 kB / 0.5357 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.5193, allocations: 62.05 kB / 0.5357 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.5193, allocations: 21.81 kB / 0.5357 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.5194, allocations: 2.344 kB / 0.5357 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.5196, allocations: 73.89 kB / 0.5358 GB, free: 9.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.5196, allocations: 0 / 0.5358 GB, free: 9.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008422/0.5204, allocations: 243.6 kB / 0.5361 GB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.5205, allocations: 61.38 kB / 0.5361 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.5208, allocations: 231.4 kB / 0.5363 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.5208, allocations: 32.3 kB / 0.5364 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.5209, allocations: 122.1 kB / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.521, allocations: 35.98 kB / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.521, allocations: 22.69 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5212, allocations: 327.1 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.5212, allocations: 26.7 kB / 0.5369 GB, free: 8.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.518e-05/0.5213, allocations: 44.23 kB / 0.5369 GB, free: 8.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.5215, allocations: 85.45 kB / 0.537 GB, free: 8.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5215, allocations: 0 / 0.537 GB, free: 8.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002308/0.5217, allocations: 134.1 kB / 0.5371 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5218, allocations: 5.375 kB / 0.5371 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5218, allocations: 1.094 kB / 0.5371 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5218, allocations: 1.406 kB / 0.5371 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.5219, allocations: 20.89 kB / 0.5371 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.5219, allocations: 5.281 kB / 0.5372 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.522, allocations: 2.562 kB / 0.5372 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.522, allocations: 14.75 kB / 0.5372 GB, free: 8.602 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 (13): * Single equations (assignments): 13 * 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.0002962/0.5223, allocations: 130.9 kB / 0.5373 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.5223, allocations: 18.47 kB / 0.5373 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.5224, allocations: 20.77 kB / 0.5373 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5224, allocations: 0.9062 kB / 0.5373 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.5224, allocations: 5.156 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5224, allocations: 0 / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007434/0.5232, allocations: 459 kB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5232, allocations: 1.094 kB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.5232, allocations: 15.56 kB / 0.5378 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.5232, allocations: 5.078 kB / 0.5378 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.5233, allocations: 7.156 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5233, allocations: 1.094 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5233, allocations: 1.062 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.5236, allocations: 242.7 kB / 0.538 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.5237, allocations: 93.16 kB / 0.5381 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.5237, allocations: 1.938 kB / 0.5381 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.5238, allocations: 5.969 kB / 0.5381 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.5238, allocations: 12.53 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.5238, allocations: 4.594 kB / 0.5382 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.524, allocations: 181.6 kB / 0.5383 GB, free: 7.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.524, allocations: 0 / 0.5383 GB, free: 7.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.5243, allocations: 29.34 kB / 0.5384 GB, free: 7.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001244/0.5256, allocations: 0.5014 MB / 0.5388 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.5258, allocations: 76.62 kB / 0.5389 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5258, allocations: 1.062 kB / 0.5389 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.5259, allocations: 40.05 kB / 0.539 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.5263, allocations: 44.2 kB / 0.539 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.5269, allocations: 288.9 kB / 0.5393 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.5273, allocations: 0.7128 MB / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.5273, allocations: 23.31 kB / 0.54 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.5274, allocations: 21.56 kB / 0.54 GB, free: 6.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5274, allocations: 0 / 0.54 GB, free: 6.27 MB / 398.1 MB Notification: Performance of Templates: time 0.006018/0.5334, allocations: 2.01 MB / 0.542 GB, free: 5.258 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches