Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 112.8 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 83.81 kB / 482.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3216, allocations: 62.43 MB / 0.5318 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003788/0.3254, allocations: 2.285 MB / 0.534 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.328, allocations: 1.31 MB / 0.5353 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.3281, allocations: 2.781 kB / 0.5353 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.3285, allocations: 141.7 kB / 0.5354 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005005/0.3291, allocations: 259.6 kB / 0.5357 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.3294, allocations: 187.6 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000521/0.33, allocations: 464.9 kB / 0.5363 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3301, allocations: 62.62 kB / 0.5363 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.3305, allocations: 333.3 kB / 0.5367 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.3308, allocations: 160.4 kB / 0.5368 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.3308, allocations: 16.62 kB / 0.5368 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.331, allocations: 74.84 kB / 0.5369 GB, free: 10 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.3312, allocations: 150.6 kB / 0.537 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.3314, allocations: 208.9 kB / 0.5372 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.332, allocations: 483.7 kB / 0.5377 GB, free: 9.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.332, allocations: 0 / 0.5377 GB, free: 9.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.332, allocations: 0 / 0.5377 GB, free: 9.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.332, allocations: 0.6875 kB / 0.5377 GB, free: 9.438 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001305/0.3333, allocations: 0.8826 MB / 0.5386 GB, free: 8.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.3334, allocations: 14.73 kB / 0.5386 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.3335, allocations: 70.84 kB / 0.5386 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.3343, allocations: 446.3 kB / 0.5391 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.3343, allocations: 11.03 kB / 0.5391 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.3343, allocations: 17.69 kB / 0.5391 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.3348, allocations: 196.5 kB / 0.5393 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.3348, allocations: 9.312 kB / 0.5393 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.3348, allocations: 9.406 kB / 0.5393 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.3349, allocations: 3.375 kB / 0.5393 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.3351, allocations: 94.08 kB / 0.5394 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.3362, allocations: 0.828 MB / 0.5402 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.3369, allocations: 244.6 kB / 0.5404 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.3371, allocations: 89.34 kB / 0.5405 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.3372, allocations: 8.125 kB / 0.5405 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003583/0.3375, allocations: 206.3 kB / 0.5407 GB, free: 6.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.3376, allocations: 1.562 kB / 0.5407 GB, free: 6.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002709/0.3403, allocations: 1.182 MB / 0.5419 GB, free: 6.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.3404, allocations: 133.1 kB / 0.542 GB, free: 6.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.342, allocations: 0.9574 MB / 0.5429 GB, free: 5.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.342, allocations: 37.17 kB / 0.543 GB, free: 5.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.3423, allocations: 267 kB / 0.5432 GB, free: 5.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.3425, allocations: 138.6 kB / 0.5434 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.3427, allocations: 83.66 kB / 0.5434 GB, free: 5.109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3429, allocations: 325.6 kB / 0.5438 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.3432, allocations: 115.1 kB / 0.5439 GB, free: 4.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.3435, allocations: 187.8 kB / 0.544 GB, free: 4.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.3441, allocations: 312.8 kB / 0.5443 GB, free: 4.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3441, allocations: 5.453 kB / 0.5444 GB, free: 4.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006983/0.3448, allocations: 444.5 kB / 0.5448 GB, free: 4.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3448, allocations: 8 kB / 0.5448 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3448, allocations: 0 / 0.5448 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3449, allocations: 7.938 kB / 0.5448 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.3451, allocations: 87.89 kB / 0.5449 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3451, allocations: 11.88 kB / 0.5449 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.3453, allocations: 23.86 kB / 0.5449 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3453, allocations: 20 kB / 0.5449 GB, free: 3.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002634/0.3456, allocations: 256.1 kB / 0.5452 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.3457, allocations: 75.06 kB / 0.5452 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.3458, allocations: 89.73 kB / 0.5453 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3459, allocations: 3.984 kB / 0.5453 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.3459, allocations: 4 kB / 0.5453 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.3461, allocations: 184.1 kB / 0.5455 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.3461, allocations: 12 kB / 0.5455 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3463, allocations: 15.98 kB / 0.5455 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.3464, allocations: 35.97 kB / 0.5456 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008756/0.3473, allocations: 0.7133 MB / 0.5463 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009112/0.3482, allocations: 0.8316 MB / 0.5471 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000251/0.3485, allocations: 164.2 kB / 0.5472 GB, free: 1.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007191/0.3492, allocations: 0.6982 MB / 0.5479 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.3492, allocations: 0 / 0.5479 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.3513, allocations: 0.7759 MB / 0.5487 GB, free: 268 kB / 398.1 MB Notification: Performance of SimCode: time 0.001826/0.3531, allocations: 1.508 MB / 0.5502 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Templates: time 0.01039/0.3635, allocations: 5.908 MB / 0.5559 GB, free: 8.84 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches