Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 114.8 kB / 18.46 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 204 kB / 19.41 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 76.16 kB / 482.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3476, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002849/0.3505, allocations: 1.733 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.3527, allocations: 1.622 MB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.3528, allocations: 4.969 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.3531, allocations: 36.69 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.3534, allocations: 104.3 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.3536, allocations: 75.8 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3537, allocations: 110.3 kB / 0.5353 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.3538, allocations: 14.86 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.981e-05/0.3539, allocations: 41.67 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.3541, allocations: 46.89 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.3541, allocations: 4.125 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.3543, allocations: 115 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.3544, allocations: 21.42 kB / 0.5356 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.3544, allocations: 36.03 kB / 0.5356 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.3547, allocations: 171.2 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3547, allocations: 0 / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3547, allocations: 0 / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3547, allocations: 0 / 0.5358 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.0005589/0.3553, allocations: 430.8 kB / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3554, allocations: 8.906 kB / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.3554, allocations: 12.97 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.3557, allocations: 209.2 kB / 0.5364 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3557, allocations: 9.062 kB / 0.5364 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.3557, allocations: 2.094 kB / 0.5364 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3559, allocations: 74.28 kB / 0.5365 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3559, allocations: 1.031 kB / 0.5365 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3559, allocations: 0 / 0.5365 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.356, allocations: 5.094 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.356, allocations: 17.95 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.3564, allocations: 285.8 kB / 0.5368 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.3566, allocations: 58.08 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.3567, allocations: 21.61 kB / 0.5369 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3567, allocations: 4.922 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.3568, allocations: 73.7 kB / 0.5369 GB, free: 9.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.3569, allocations: 0 / 0.5369 GB, free: 9.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00055/0.3574, allocations: 173 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3575, allocations: 83.12 kB / 0.5372 GB, free: 9.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3576, allocations: 170.2 kB / 0.5373 GB, free: 8.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3577, allocations: 30.94 kB / 0.5374 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.3577, allocations: 96.23 kB / 0.5375 GB, free: 8.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.3578, allocations: 31.08 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.3578, allocations: 25.47 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3579, allocations: 321.1 kB / 0.5378 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.358, allocations: 23.36 kB / 0.5378 GB, free: 8.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.107e-05/0.3581, allocations: 45.03 kB / 0.5379 GB, free: 8.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3582, allocations: 59.95 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3582, allocations: 0 / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002381/0.3584, allocations: 114.7 kB / 0.5381 GB, free: 8.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3585, allocations: 5.75 kB / 0.5381 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3585, allocations: 0 / 0.5381 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3585, allocations: 1.094 kB / 0.5381 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.3586, allocations: 17.33 kB / 0.5381 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3586, allocations: 4.969 kB / 0.5381 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.3587, allocations: 6.406 kB / 0.5381 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.3587, allocations: 3.438 kB / 0.5381 GB, free: 8.273 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 9e-05/0.3588, allocations: 119.8 kB / 0.5382 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.3588, allocations: 12.94 kB / 0.5382 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.3589, allocations: 12.81 kB / 0.5382 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3589, allocations: 0 / 0.5382 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3589, allocations: 4.969 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.3589, allocations: 99.28 kB / 0.5383 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.359, allocations: 1.125 kB / 0.5383 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.438e-05/0.359, allocations: 2.125 kB / 0.5383 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.3591, allocations: 3.156 kB / 0.5383 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000223/0.3593, allocations: 176.6 kB / 0.5385 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002632/0.3596, allocations: 279 kB / 0.5388 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.199e-05/0.3597, allocations: 25.11 kB / 0.5388 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3598, allocations: 124.9 kB / 0.5389 GB, free: 7.523 MB / 398.1 MB Notification: Performance of Backend: time 6.81e-07/0.3598, allocations: 0 / 0.5389 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.3614, allocations: 0.5602 MB / 0.5395 GB, free: 7.254 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006067/0.362, allocations: 0.6549 MB / 0.5401 GB, free: 6.609 MB / 398.1 MB Notification: Performance of Templates: time 0.005688/0.3677, allocations: 2.406 MB / 0.5424 GB, free: 5.375 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches