Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1985/0.1985, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 75.88 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2986, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002806/0.3014, allocations: 1.727 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.3035, allocations: 1.624 MB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.3036, allocations: 5.312 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.3038, allocations: 45.33 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.3041, allocations: 92.69 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.3043, allocations: 77.86 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.3045, allocations: 105.7 kB / 0.5347 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.3046, allocations: 15.33 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.3047, allocations: 45 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3048, allocations: 47.64 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3048, allocations: 4.875 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.305, allocations: 109.9 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.3051, allocations: 25.31 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.3051, allocations: 31.64 kB / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3054, allocations: 171.4 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3054, allocations: 0 / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3054, allocations: 4 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.3054, allocations: 1.062 kB / 0.5351 GB, free: 10.5 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.0004898/0.3059, allocations: 427.4 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.3059, allocations: 9.781 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.306, allocations: 9.438 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.3062, allocations: 215.1 kB / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3062, allocations: 6.281 kB / 0.5357 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3063, allocations: 6.312 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3064, allocations: 73.22 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3064, allocations: 1.031 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3065, allocations: 0 / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.3065, allocations: 1.062 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.3065, allocations: 22.3 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.3069, allocations: 282.1 kB / 0.5361 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.307, allocations: 61.89 kB / 0.5362 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.3071, allocations: 21.09 kB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.3071, allocations: 1.375 kB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.3072, allocations: 73.91 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.3072, allocations: 0 / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004791/0.3077, allocations: 172.4 kB / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3078, allocations: 86.42 kB / 0.5365 GB, free: 9.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3079, allocations: 163.1 kB / 0.5367 GB, free: 8.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.308, allocations: 31.19 kB / 0.5367 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.308, allocations: 100.3 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.3081, allocations: 27.59 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3081, allocations: 20.25 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3082, allocations: 329.8 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.3083, allocations: 19.55 kB / 0.5372 GB, free: 8.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.3083, allocations: 40.34 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.3084, allocations: 63.78 kB / 0.5373 GB, free: 8.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3085, allocations: 384 / 0.5373 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000177/0.3086, allocations: 98.92 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3087, allocations: 9.469 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3087, allocations: 1.094 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.3087, allocations: 1.344 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.3088, allocations: 24.7 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3088, allocations: 9.062 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.3088, allocations: 2.062 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3089, allocations: 3.188 kB / 0.5374 GB, free: 8.289 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 8.89e-05/0.3089, allocations: 116.2 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.309, allocations: 20.23 kB / 0.5375 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.309, allocations: 17.09 kB / 0.5375 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.309, allocations: 1.125 kB / 0.5375 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.309, allocations: 3.938 kB / 0.5376 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.309, allocations: 1 kB / 0.5376 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.3095, allocations: 391.7 kB / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3095, allocations: 1.344 kB / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.3095, allocations: 19.48 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3095, allocations: 1.312 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3095, allocations: 4.938 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3095, allocations: 0.9688 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3095, allocations: 0.9375 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.3098, allocations: 200.6 kB / 0.5381 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.3098, allocations: 91.14 kB / 0.5382 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.3098, allocations: 6.203 kB / 0.5382 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.3099, allocations: 10.12 kB / 0.5382 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.31, allocations: 7.062 kB / 0.5383 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.31, allocations: 7.328 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.3101, allocations: 127.3 kB / 0.5384 GB, free: 7.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3101, allocations: 1.062 kB / 0.5384 GB, free: 7.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.3104, allocations: 46.08 kB / 0.5384 GB, free: 7.332 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.001106/0.3115, allocations: 0.5384 MB / 0.539 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.3117, allocations: 58.33 kB / 0.539 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3117, allocations: 0.5625 kB / 0.539 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.3117, allocations: 25.33 kB / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3121, allocations: 41.67 kB / 0.5391 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.3124, allocations: 199.8 kB / 0.5393 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.3127, allocations: 0.6982 MB / 0.5399 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.941e-05/0.3127, allocations: 19.52 kB / 0.54 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.3128, allocations: 20.8 kB / 0.54 GB, free: 6.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3128, allocations: 5.281 kB / 0.54 GB, free: 6.086 MB / 398.1 MB Notification: Performance of Templates: time 0.004701/0.3175, allocations: 2.363 MB / 0.5423 GB, free: 4.875 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches