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.001348/0.001348, allocations: 109.9 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 213.9 kB / 19.4 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.438/1.438, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2432/0.2432, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 79.89 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3994, allocations: 62.45 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003311/0.4028, allocations: 1.913 MB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.4048, allocations: 1.135 MB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.4049, allocations: 2.531 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.4055, allocations: 250.2 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.406, allocations: 239.6 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.4063, allocations: 111.1 kB / 0.5353 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.4067, allocations: 277.6 kB / 0.5356 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.4068, allocations: 27.61 kB / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.407, allocations: 140.1 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.4073, allocations: 184.5 kB / 0.5359 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.4073, allocations: 8.062 kB / 0.5359 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.4075, allocations: 63.5 kB / 0.536 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.4076, allocations: 68.72 kB / 0.536 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.4077, allocations: 91.09 kB / 0.5361 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.4081, allocations: 259.6 kB / 0.5364 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4081, allocations: 0 / 0.5364 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.4081, allocations: 1.094 kB / 0.5364 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.4081, allocations: 3.938 kB / 0.5364 GB, free: 10.22 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.0008332/0.4089, allocations: 0.5803 MB / 0.537 GB, free: 9.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.409, allocations: 8.781 kB / 0.537 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/0.4091, allocations: 31.03 kB / 0.537 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.4095, allocations: 303.6 kB / 0.5373 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4095, allocations: 3.594 kB / 0.5373 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.4096, allocations: 13.31 kB / 0.5373 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.4098, allocations: 111.1 kB / 0.5374 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.4099, allocations: 8.875 kB / 0.5374 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4099, allocations: 1.031 kB / 0.5374 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4099, allocations: 2.25 kB / 0.5374 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.4101, allocations: 48.48 kB / 0.5375 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.4107, allocations: 493.5 kB / 0.5379 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.4111, allocations: 119.5 kB / 0.538 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4112, allocations: 52.38 kB / 0.5381 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.4112, allocations: 6.734 kB / 0.5381 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.4115, allocations: 108.7 kB / 0.5382 GB, free: 8.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4115, allocations: 0 / 0.5382 GB, free: 8.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001396/0.4129, allocations: 0.5131 MB / 0.5387 GB, free: 8.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.413, allocations: 83.08 kB / 0.5388 GB, free: 8.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/0.4136, allocations: 497.4 kB / 0.5393 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.4137, allocations: 32.23 kB / 0.5393 GB, free: 7.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4138, allocations: 168.7 kB / 0.5395 GB, free: 7.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.4139, allocations: 74.14 kB / 0.5395 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.4139, allocations: 48.83 kB / 0.5396 GB, free: 7.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4141, allocations: 342.3 kB / 0.5399 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.4142, allocations: 57.62 kB / 0.54 GB, free: 7.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.4144, allocations: 98.58 kB / 0.54 GB, free: 7.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.4147, allocations: 157.6 kB / 0.5402 GB, free: 7.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4147, allocations: 0 / 0.5402 GB, free: 7.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004257/0.4151, allocations: 239.5 kB / 0.5404 GB, free: 6.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4151, allocations: 13.8 kB / 0.5404 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4152, allocations: 5.406 kB / 0.5404 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4152, allocations: 1.406 kB / 0.5404 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.4153, allocations: 43.55 kB / 0.5405 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4153, allocations: 1.531 kB / 0.5405 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.584e-05/0.4154, allocations: 20.39 kB / 0.5405 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.4155, allocations: 6.625 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.0001736/0.4156, allocations: 172.9 kB / 0.5407 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.4157, allocations: 36.81 kB / 0.5407 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/0.4158, allocations: 40.45 kB / 0.5408 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.4158, allocations: 2.281 kB / 0.5408 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4158, allocations: 1 kB / 0.5408 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.4158, allocations: 5.172 kB / 0.5408 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.4168, allocations: 0.7466 MB / 0.5415 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4168, allocations: 1.188 kB / 0.5415 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.4169, allocations: 32.39 kB / 0.5415 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.4169, allocations: 2.125 kB / 0.5415 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.4169, allocations: 8.562 kB / 0.5415 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4169, allocations: 6.344 kB / 0.5415 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.417, allocations: 2.312 kB / 0.5415 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.4175, allocations: 431.7 kB / 0.542 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.4175, allocations: 100.9 kB / 0.542 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.4176, allocations: 12.8 kB / 0.5421 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.4177, allocations: 3.5 kB / 0.5421 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.4178, allocations: 25.44 kB / 0.5421 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.4178, allocations: 8.469 kB / 0.5421 GB, free: 5.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004216/0.4182, allocations: 373.2 kB / 0.5425 GB, free: 5.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4183, allocations: 1.219 kB / 0.5425 GB, free: 5.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.4186, allocations: 56.08 kB / 0.5425 GB, free: 5.379 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.001262/0.4199, allocations: 0.5035 MB / 0.543 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.4203, allocations: 159 kB / 0.5431 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4203, allocations: 1.094 kB / 0.5432 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.4205, allocations: 83.27 kB / 0.5432 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.421, allocations: 70.81 kB / 0.5433 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4221, allocations: 0.6335 MB / 0.5439 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.4225, allocations: 0.7791 MB / 0.5447 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.69e-05/0.4226, allocations: 34.89 kB / 0.5447 GB, free: 3.797 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4226, allocations: 0 / 0.5447 GB, free: 3.797 MB / 398.1 MB Notification: Performance of Templates: time 0.00624/0.4288, allocations: 3.881 MB / 0.5485 GB, free: 252 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