Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 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.2269/0.2269, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 75.88 kB / 482.1 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3525, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003018/0.3556, allocations: 1.73 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.358, allocations: 1.621 MB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.3581, allocations: 1.375 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.3583, allocations: 41.39 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.3586, allocations: 104.3 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3588, allocations: 78.86 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.359, allocations: 101.8 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.554e-05/0.3591, allocations: 15.03 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3592, allocations: 49.36 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3593, allocations: 46.2 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3594, allocations: 5.312 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.3596, allocations: 115.1 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.3596, allocations: 17.05 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.3597, allocations: 32.06 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.36, allocations: 173.9 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.36, allocations: 1.344 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.36, allocations: 0 / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.36, allocations: 0 / 0.5358 GB, free: 10.48 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.0004929/0.3605, allocations: 427.5 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3605, allocations: 9.875 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.3606, allocations: 9.5 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.3609, allocations: 212 kB / 0.5364 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3609, allocations: 5.031 kB / 0.5364 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3609, allocations: 6.219 kB / 0.5364 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3611, allocations: 74.06 kB / 0.5365 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3611, allocations: 1.125 kB / 0.5365 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3611, allocations: 4 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3612, allocations: 1.188 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.3612, allocations: 18.02 kB / 0.5365 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.3616, allocations: 282.1 kB / 0.5368 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.3618, allocations: 65.48 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/0.3619, allocations: 22.02 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3619, allocations: 1.125 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.362, allocations: 73.17 kB / 0.5369 GB, free: 9.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.362, allocations: 0 / 0.5369 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005189/0.3626, allocations: 165.6 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.3626, allocations: 86.33 kB / 0.5372 GB, free: 9.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.3628, allocations: 166.6 kB / 0.5373 GB, free: 8.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3629, allocations: 30.89 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.3629, allocations: 107.5 kB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.3629, allocations: 24.3 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.363, allocations: 24.41 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3631, allocations: 321.5 kB / 0.5378 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.3632, allocations: 23.89 kB / 0.5378 GB, free: 8.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.3633, allocations: 48.06 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.3634, allocations: 51.59 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3634, allocations: 0 / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.3636, allocations: 103.5 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3636, allocations: 5.562 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3636, allocations: 0 / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3637, allocations: 5.219 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3638, allocations: 16.98 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3638, allocations: 9.062 kB / 0.5381 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.3639, allocations: 2.188 kB / 0.5381 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3639, allocations: 7.062 kB / 0.5381 GB, free: 8.277 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 9.091e-05/0.364, allocations: 116.6 kB / 0.5382 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.364, allocations: 13.03 kB / 0.5382 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.3641, allocations: 15.92 kB / 0.5382 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3641, allocations: 5.219 kB / 0.5382 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3641, allocations: 4.875 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3641, allocations: 0 / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.3645, allocations: 392.4 kB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3646, allocations: 1 kB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.3646, allocations: 15.48 kB / 0.5386 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3646, allocations: 1.062 kB / 0.5386 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3646, allocations: 6.062 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3646, allocations: 384 / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3646, allocations: 5.094 kB / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3649, allocations: 200.5 kB / 0.5388 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.365, allocations: 95.23 kB / 0.5389 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.365, allocations: 6.609 kB / 0.5389 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.3651, allocations: 6.469 kB / 0.5389 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.3652, allocations: 2.75 kB / 0.5389 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3652, allocations: 16.39 kB / 0.5389 GB, free: 7.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3653, allocations: 126.5 kB / 0.539 GB, free: 7.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3653, allocations: 0 / 0.539 GB, free: 7.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.3657, allocations: 46.42 kB / 0.5391 GB, free: 7.32 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.367, allocations: 0.5385 MB / 0.5396 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.3672, allocations: 54.67 kB / 0.5397 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3672, allocations: 1.312 kB / 0.5397 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.3673, allocations: 33.48 kB / 0.5397 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3677, allocations: 43.5 kB / 0.5397 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.3681, allocations: 218.8 kB / 0.5399 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3684, allocations: 0.7065 MB / 0.5406 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.3685, allocations: 20.86 kB / 0.5407 GB, free: 6.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3685, allocations: 1.156 kB / 0.5407 GB, free: 6.062 MB / 398.1 MB Notification: Performance of Templates: time 0.005286/0.3738, allocations: 2.423 MB / 0.543 GB, free: 4.809 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches