Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 212.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.491/1.491, 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.2116/0.2116, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 76.09 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3553, allocations: 62.43 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003389/0.3588, allocations: 1.921 MB / 0.5336 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3608, allocations: 1.123 MB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.361, allocations: 2.75 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.3614, allocations: 163 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.3619, allocations: 177.2 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.3622, allocations: 120.5 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.3625, allocations: 246.6 kB / 0.5354 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3627, allocations: 28.69 kB / 0.5354 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.3629, allocations: 111.4 kB / 0.5355 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.3631, allocations: 135.6 kB / 0.5357 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.3632, allocations: 11.84 kB / 0.5357 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.3633, allocations: 62.67 kB / 0.5357 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.3634, allocations: 54.98 kB / 0.5358 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.3635, allocations: 81.8 kB / 0.5359 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.3639, allocations: 235.2 kB / 0.5361 GB, free: 10.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3639, allocations: 0 / 0.5361 GB, free: 10.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3639, allocations: 1.094 kB / 0.5361 GB, free: 10.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.3639, allocations: 0 / 0.5361 GB, free: 10.37 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007976/0.3647, allocations: 0.5294 MB / 0.5366 GB, free: 9.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3648, allocations: 13.69 kB / 0.5366 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.3648, allocations: 28.84 kB / 0.5366 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.3653, allocations: 286.4 kB / 0.5369 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3653, allocations: 4.031 kB / 0.5369 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3653, allocations: 13.62 kB / 0.5369 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.3656, allocations: 103.9 kB / 0.537 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3656, allocations: 4 kB / 0.537 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3656, allocations: 5.25 kB / 0.537 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3656, allocations: 5.312 kB / 0.5371 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3658, allocations: 44.84 kB / 0.5371 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.3665, allocations: 466 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.3669, allocations: 131.3 kB / 0.5377 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.3671, allocations: 44.64 kB / 0.5377 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.3671, allocations: 6.344 kB / 0.5377 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.3674, allocations: 123.7 kB / 0.5378 GB, free: 8.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.3674, allocations: 0 / 0.5378 GB, free: 8.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00155/0.369, allocations: 498.5 kB / 0.5383 GB, free: 8.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.369, allocations: 84.52 kB / 0.5384 GB, free: 8.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.3696, allocations: 372.5 kB / 0.5387 GB, free: 8.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.3696, allocations: 36.19 kB / 0.5388 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3698, allocations: 145 kB / 0.5389 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.3699, allocations: 73.61 kB / 0.539 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/0.37, allocations: 41.55 kB / 0.539 GB, free: 7.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002935/0.3703, allocations: 339.2 kB / 0.5393 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.3704, allocations: 57.78 kB / 0.5394 GB, free: 7.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.3706, allocations: 98.86 kB / 0.5395 GB, free: 7.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.3709, allocations: 157.9 kB / 0.5396 GB, free: 7.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3709, allocations: 0 / 0.5396 GB, free: 7.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004135/0.3714, allocations: 225.7 kB / 0.5399 GB, free: 7.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3714, allocations: 8.312 kB / 0.5399 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3714, allocations: 13.64 kB / 0.5399 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3714, allocations: 11.28 kB / 0.5399 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3716, allocations: 42.02 kB / 0.5399 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3716, allocations: 1.281 kB / 0.5399 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.231e-05/0.3717, allocations: 4.781 kB / 0.5399 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.3717, allocations: 14.02 kB / 0.54 GB, free: 7.207 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000216/0.3719, allocations: 159.5 kB / 0.5401 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.372, allocations: 32.25 kB / 0.5401 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-05/0.3721, allocations: 36.8 kB / 0.5402 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3721, allocations: 7.25 kB / 0.5402 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3721, allocations: 0 / 0.5402 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3721, allocations: 5.328 kB / 0.5402 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.3732, allocations: 0.7173 MB / 0.5409 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3732, allocations: 5.594 kB / 0.5409 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.3733, allocations: 36.42 kB / 0.5409 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3733, allocations: 2.219 kB / 0.5409 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3733, allocations: 4.406 kB / 0.5409 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3733, allocations: 2.219 kB / 0.5409 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.3733, allocations: 5.984 kB / 0.5409 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.3738, allocations: 421.6 kB / 0.5413 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3739, allocations: 101.2 kB / 0.5414 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.374, allocations: 8.422 kB / 0.5414 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3742, allocations: 7.688 kB / 0.5415 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.3742, allocations: 24.72 kB / 0.5415 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3743, allocations: 13.09 kB / 0.5415 GB, free: 5.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002723/0.3746, allocations: 275.1 kB / 0.5418 GB, free: 5.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3746, allocations: 0 / 0.5418 GB, free: 5.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.3749, allocations: 51.73 kB / 0.5418 GB, free: 5.742 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001438/0.3764, allocations: 0.5066 MB / 0.5423 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.3768, allocations: 166.5 kB / 0.5425 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3768, allocations: 1.219 kB / 0.5425 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.377, allocations: 78.81 kB / 0.5425 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.3776, allocations: 74.16 kB / 0.5426 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009983/0.3786, allocations: 0.53 MB / 0.5431 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.379, allocations: 0.7596 MB / 0.5439 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.3791, allocations: 31.44 kB / 0.5439 GB, free: 4.207 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3791, allocations: 0 / 0.5439 GB, free: 4.207 MB / 398.1 MB Notification: Performance of Templates: time 0.006869/0.386, allocations: 3.609 MB / 0.5474 GB, free: 1.383 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches