Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001829/0.001829, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 79.86 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3773, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003185/0.3806, allocations: 1.735 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3823, allocations: 1.023 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.3824, allocations: 0 / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.3827, allocations: 51.02 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.383, allocations: 105.8 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.3833, allocations: 80.28 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.3834, allocations: 104.9 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3836, allocations: 6.875 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.449e-05/0.3837, allocations: 48.27 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.3837, allocations: 33.42 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3838, allocations: 4.125 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.3839, allocations: 44.86 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.3839, allocations: 30.84 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.384, allocations: 49.23 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3842, allocations: 138.3 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3842, allocations: 0 / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3842, allocations: 3.938 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.3843, allocations: 1.375 kB / 0.5344 GB, free: 11 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.000656/0.3849, allocations: 443 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.385, allocations: 8.25 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.385, allocations: 19.62 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.3854, allocations: 236 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3854, allocations: 1.719 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.3854, allocations: 6.812 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3856, allocations: 53.52 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3856, allocations: 0 / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3856, allocations: 1.094 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3856, allocations: 1.031 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.3857, allocations: 21.7 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.3862, allocations: 312.7 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.3863, allocations: 54.05 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.3864, allocations: 21.97 kB / 0.5356 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3864, allocations: 1.281 kB / 0.5356 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.3866, allocations: 69.39 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.3866, allocations: 3.938 kB / 0.5356 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005917/0.3872, allocations: 185 kB / 0.5358 GB, free: 9.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3873, allocations: 52.91 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.3876, allocations: 289 kB / 0.5361 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3876, allocations: 25.7 kB / 0.5362 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.3877, allocations: 116 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3877, allocations: 20.16 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.3878, allocations: 28.61 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3879, allocations: 331.5 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.388, allocations: 22.83 kB / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.506e-05/0.388, allocations: 36.64 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.3882, allocations: 58.59 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3882, allocations: 7.875 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.3884, allocations: 105.3 kB / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3884, allocations: 8.094 kB / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3884, allocations: 1.281 kB / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3884, allocations: 0 / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3886, allocations: 25.7 kB / 0.5369 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3886, allocations: 1.25 kB / 0.5369 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.3886, allocations: 5.875 kB / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3886, allocations: 7 kB / 0.5369 GB, free: 8.746 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.0001068/0.3888, allocations: 138.6 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.3888, allocations: 14.69 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.3888, allocations: 22.08 kB / 0.5371 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3889, allocations: 1.281 kB / 0.5371 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3889, allocations: 0 / 0.5371 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3889, allocations: 3.938 kB / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.3894, allocations: 409.7 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3894, allocations: 5.094 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.3894, allocations: 12.08 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3894, allocations: 0 / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3895, allocations: 10.66 kB / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3895, allocations: 0 / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3895, allocations: 0.8438 kB / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.3897, allocations: 210.5 kB / 0.5377 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.3898, allocations: 88.48 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3898, allocations: 6.031 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.3899, allocations: 6.078 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.3899, allocations: 3.812 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3899, allocations: 2.781 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.3901, allocations: 216.7 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3902, allocations: 0 / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3904, allocations: 34.61 kB / 0.538 GB, free: 7.746 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.001063/0.3915, allocations: 468 kB / 0.5385 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.3917, allocations: 50.67 kB / 0.5385 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3917, allocations: 64 / 0.5385 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.3918, allocations: 37.64 kB / 0.5386 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3922, allocations: 35.45 kB / 0.5386 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.3928, allocations: 303.3 kB / 0.5389 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3931, allocations: 0.7202 MB / 0.5396 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.134e-05/0.3932, allocations: 22 kB / 0.5396 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.3933, allocations: 24.11 kB / 0.5396 GB, free: 6.492 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3933, allocations: 0 / 0.5396 GB, free: 6.492 MB / 398.1 MB Notification: Performance of Templates: time 0.005496/0.3988, allocations: 1.762 MB / 0.5414 GB, free: 5.609 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches