Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 79.88 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3672, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003012/0.3703, allocations: 1.73 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.372, allocations: 1.018 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.3721, allocations: 1.375 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.3724, allocations: 48.12 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.3728, allocations: 96.41 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.373, allocations: 82.92 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3732, allocations: 100.9 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3733, allocations: 14.86 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.773e-05/0.3734, allocations: 48.27 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.3735, allocations: 30.8 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3735, allocations: 4.125 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3736, allocations: 39.48 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.3737, allocations: 26.72 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.3738, allocations: 45.36 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.374, allocations: 122 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.374, allocations: 1.375 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.374, allocations: 0 / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.374, allocations: 0 / 0.5351 GB, free: 11.02 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.0005609/0.3746, allocations: 416.4 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3747, allocations: 9.312 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.3747, allocations: 14.88 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.375, allocations: 223.8 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.375, allocations: 5.375 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3751, allocations: 6.406 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3752, allocations: 54.02 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3753, allocations: 1 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3753, allocations: 0 / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3753, allocations: 0.9688 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.3754, allocations: 18.8 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.3757, allocations: 295.8 kB / 0.5361 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.3759, allocations: 57.75 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.376, allocations: 21.47 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.376, allocations: 5.25 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.3762, allocations: 60.48 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.845e-06/0.3762, allocations: 5.5 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005456/0.3767, allocations: 185.4 kB / 0.5364 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3768, allocations: 53.5 kB / 0.5364 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.377, allocations: 204 kB / 0.5366 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.377, allocations: 26.7 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.3771, allocations: 109.8 kB / 0.5367 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.3771, allocations: 26.55 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.3772, allocations: 24.38 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3773, allocations: 335.2 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.3774, allocations: 18.23 kB / 0.5371 GB, free: 9.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.3775, allocations: 36.42 kB / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3776, allocations: 62.48 kB / 0.5372 GB, free: 8.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3776, allocations: 1.219 kB / 0.5372 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.3778, allocations: 107.1 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3778, allocations: 5.094 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3778, allocations: 1 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3778, allocations: 1.312 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.3779, allocations: 16.61 kB / 0.5374 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3779, allocations: 5.188 kB / 0.5374 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.378, allocations: 6.781 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.378, allocations: 2.594 kB / 0.5374 GB, free: 8.852 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 0.0001044/0.3781, allocations: 131.9 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3782, allocations: 9.844 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.3782, allocations: 14.66 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3782, allocations: 5.141 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3782, allocations: 0 / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3782, allocations: 4.906 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.3787, allocations: 399.9 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3787, allocations: 0 / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.3787, allocations: 12.08 kB / 0.5379 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3787, allocations: 4.031 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3788, allocations: 10.28 kB / 0.5379 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3788, allocations: 0.9688 kB / 0.5379 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3788, allocations: 5.094 kB / 0.5379 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.379, allocations: 204.7 kB / 0.5381 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.3791, allocations: 87.7 kB / 0.5382 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3791, allocations: 14.62 kB / 0.5382 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.3792, allocations: 5.172 kB / 0.5382 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.3792, allocations: 3.375 kB / 0.5382 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3793, allocations: 3.594 kB / 0.5382 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.3794, allocations: 166.8 kB / 0.5384 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3794, allocations: 0 / 0.5384 GB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.3797, allocations: 21.16 kB / 0.5384 GB, free: 7.875 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.001062/0.3807, allocations: 462.9 kB / 0.5389 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.3809, allocations: 69.73 kB / 0.5389 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.381, allocations: 0 / 0.5389 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.381, allocations: 26.16 kB / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.3814, allocations: 35.53 kB / 0.539 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.3819, allocations: 260.8 kB / 0.5392 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3822, allocations: 0.7072 MB / 0.5399 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.3823, allocations: 19.58 kB / 0.5399 GB, free: 6.648 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3823, allocations: 0 / 0.5399 GB, free: 6.648 MB / 398.1 MB Notification: Performance of Templates: time 0.003919/0.3862, allocations: 1.989 MB / 0.5419 GB, free: 5.621 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches