Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.001231, allocations: 112.4 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.001469/0.00147, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, 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.2134/0.2134, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 75.88 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3593, allocations: 62.44 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003435/0.3628, allocations: 1.924 MB / 0.5336 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3647, allocations: 1.123 MB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.3648, allocations: 6.75 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.3654, allocations: 254.7 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.3659, allocations: 234.5 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.3662, allocations: 111.5 kB / 0.5353 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.3666, allocations: 272.1 kB / 0.5356 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3667, allocations: 28.36 kB / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.3669, allocations: 135.3 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.3672, allocations: 192.9 kB / 0.5359 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.3672, allocations: 8.125 kB / 0.5359 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.3674, allocations: 63.42 kB / 0.536 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3675, allocations: 64.56 kB / 0.536 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.3676, allocations: 95.27 kB / 0.5361 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.368, allocations: 259 kB / 0.5364 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.368, allocations: 1.25 kB / 0.5364 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.368, allocations: 0 / 0.5364 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.368, allocations: 3.938 kB / 0.5364 GB, free: 10.21 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.0008409/0.3689, allocations: 0.5834 MB / 0.537 GB, free: 9.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3689, allocations: 9.75 kB / 0.537 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.369, allocations: 35.69 kB / 0.537 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.3694, allocations: 298.5 kB / 0.5373 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3694, allocations: 3.625 kB / 0.5373 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.3695, allocations: 14.53 kB / 0.5373 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.3697, allocations: 104.7 kB / 0.5374 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.3698, allocations: 13.03 kB / 0.5374 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3698, allocations: 1.062 kB / 0.5374 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3698, allocations: 1.75 kB / 0.5374 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.37, allocations: 57.5 kB / 0.5375 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.3706, allocations: 481.7 kB / 0.5379 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.371, allocations: 122.2 kB / 0.538 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3711, allocations: 44.73 kB / 0.5381 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3712, allocations: 5.891 kB / 0.5381 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.3715, allocations: 123.8 kB / 0.5382 GB, free: 8.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.3715, allocations: 0.9375 kB / 0.5382 GB, free: 8.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001414/0.3729, allocations: 0.5007 MB / 0.5387 GB, free: 8.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.373, allocations: 88.16 kB / 0.5388 GB, free: 8.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.3735, allocations: 493.3 kB / 0.5393 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.3736, allocations: 39.66 kB / 0.5393 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3737, allocations: 169.6 kB / 0.5395 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.3738, allocations: 69.38 kB / 0.5395 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.3738, allocations: 37.72 kB / 0.5396 GB, free: 7.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.374, allocations: 353.5 kB / 0.5399 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3741, allocations: 57.28 kB / 0.5399 GB, free: 7.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.3743, allocations: 100.3 kB / 0.54 GB, free: 7.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.3746, allocations: 156.5 kB / 0.5402 GB, free: 7.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3746, allocations: 0 / 0.5402 GB, free: 7.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004301/0.3751, allocations: 235.9 kB / 0.5404 GB, free: 6.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3751, allocations: 9.781 kB / 0.5404 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3751, allocations: 4.062 kB / 0.5404 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.3751, allocations: 6.547 kB / 0.5404 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.3753, allocations: 47.33 kB / 0.5405 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3753, allocations: 1.156 kB / 0.5405 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.3754, allocations: 8.344 kB / 0.5405 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.3755, allocations: 15.02 kB / 0.5405 GB, free: 6.91 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.0001698/0.3756, allocations: 169.1 kB / 0.5407 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.3757, allocations: 35.75 kB / 0.5407 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.805e-05/0.3758, allocations: 48.77 kB / 0.5407 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3758, allocations: 3.281 kB / 0.5408 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3758, allocations: 1.188 kB / 0.5408 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.3758, allocations: 7.922 kB / 0.5408 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.3769, allocations: 0.7437 MB / 0.5415 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3769, allocations: 1.562 kB / 0.5415 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.377, allocations: 30.89 kB / 0.5415 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.377, allocations: 3.188 kB / 0.5415 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3771, allocations: 3.875 kB / 0.5415 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.781e-05/0.3771, allocations: 11.44 kB / 0.5415 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.3771, allocations: 5.609 kB / 0.5415 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.3776, allocations: 427 kB / 0.5419 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.3777, allocations: 106.8 kB / 0.542 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.3778, allocations: 11.48 kB / 0.5421 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.3779, allocations: 4.5 kB / 0.5421 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.378, allocations: 28.8 kB / 0.5421 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.378, allocations: 12.73 kB / 0.5421 GB, free: 5.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004315/0.3785, allocations: 373.7 kB / 0.5425 GB, free: 5.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3785, allocations: 0 / 0.5425 GB, free: 5.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004103/0.3789, allocations: 48.91 kB / 0.5425 GB, free: 5.371 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.001325/0.3802, allocations: 0.5027 MB / 0.543 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.3806, allocations: 163.9 kB / 0.5432 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3806, allocations: 0 / 0.5432 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.3808, allocations: 79.09 kB / 0.5432 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.3813, allocations: 65.31 kB / 0.5433 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.3824, allocations: 0.6346 MB / 0.5439 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.3829, allocations: 0.7837 MB / 0.5447 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.383, allocations: 34.36 kB / 0.5447 GB, free: 3.785 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.383, allocations: 1 kB / 0.5447 GB, free: 3.785 MB / 398.1 MB Notification: Performance of Templates: time 0.006578/0.3895, allocations: 3.881 MB / 0.5485 GB, free: 256 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches