Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, 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.2311/0.2311, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 75.88 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4454, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003206/0.4486, allocations: 1.741 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.4504, allocations: 1.019 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.208e-05/0.4505, allocations: 8.844 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.4508, allocations: 49.69 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.4511, allocations: 95.42 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.4513, allocations: 82.75 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.4515, allocations: 109.6 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.4517, allocations: 10.67 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.4518, allocations: 40.67 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.064e-05/0.4519, allocations: 41.47 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.4519, allocations: 4.219 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.881e-05/0.452, allocations: 43.69 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.4521, allocations: 22.86 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.4521, allocations: 44.88 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.4524, allocations: 145.6 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4524, allocations: 0 / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4524, allocations: 0 / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4524, allocations: 1.188 kB / 0.5351 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.0005976/0.453, allocations: 445.8 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.453, allocations: 9.156 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.4531, allocations: 15.44 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.4534, allocations: 223.3 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.4534, allocations: 6.781 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.4534, allocations: 10.17 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.4536, allocations: 53.7 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4536, allocations: 3.938 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.4536, allocations: 1.5 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4537, allocations: 0 / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.874e-05/0.4537, allocations: 23.33 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.4541, allocations: 296 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.4543, allocations: 61.92 kB / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.4544, allocations: 17.11 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.4544, allocations: 1.375 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.4546, allocations: 69.08 kB / 0.5363 GB, free: 9.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4546, allocations: 4 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.4551, allocations: 180.6 kB / 0.5365 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.4552, allocations: 56.59 kB / 0.5365 GB, free: 9.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.4555, allocations: 275.6 kB / 0.5368 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.4555, allocations: 26.64 kB / 0.5368 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.4556, allocations: 111.8 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.4556, allocations: 22.91 kB / 0.5369 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.4557, allocations: 24.33 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4558, allocations: 336.4 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.4559, allocations: 22.36 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.4559, allocations: 44.09 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.4561, allocations: 55 kB / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4561, allocations: 0 / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002021/0.4563, allocations: 109.3 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4563, allocations: 5.406 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4563, allocations: 5.25 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4563, allocations: 1.281 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.4564, allocations: 20.45 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4565, allocations: 1.344 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.4565, allocations: 6.406 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.4565, allocations: 2.312 kB / 0.5375 GB, free: 8.762 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.0001197/0.4567, allocations: 133.2 kB / 0.5377 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.4567, allocations: 19.28 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.4567, allocations: 24.55 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4568, allocations: 0.9375 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4568, allocations: 1.062 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.4568, allocations: 3.938 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.4573, allocations: 416.9 kB / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4573, allocations: 0 / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.4573, allocations: 11.88 kB / 0.5381 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4573, allocations: 5.188 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.4574, allocations: 6.156 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.4574, allocations: 3.984 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4574, allocations: 1.062 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.4576, allocations: 202.1 kB / 0.5383 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.4577, allocations: 84.7 kB / 0.5384 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.4577, allocations: 6.344 kB / 0.5384 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.4578, allocations: 5.125 kB / 0.5384 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.4579, allocations: 11.39 kB / 0.5384 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.4579, allocations: 4.656 kB / 0.5384 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002164/0.4581, allocations: 202.1 kB / 0.5386 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4581, allocations: 0 / 0.5386 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000265/0.4584, allocations: 21.38 kB / 0.5386 GB, free: 7.773 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.001121/0.4595, allocations: 469 kB / 0.5391 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.4597, allocations: 61.95 kB / 0.5392 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4597, allocations: 4.969 kB / 0.5392 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.4598, allocations: 28.95 kB / 0.5392 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.4602, allocations: 36.38 kB / 0.5392 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.4608, allocations: 311.4 kB / 0.5395 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.4611, allocations: 0.7252 MB / 0.5402 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.4611, allocations: 14.91 kB / 0.5402 GB, free: 6.504 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4611, allocations: 1.219 kB / 0.5402 GB, free: 6.504 MB / 398.1 MB Notification: Performance of Templates: time 0.005176/0.4663, allocations: 2.128 MB / 0.5423 GB, free: 5.395 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches