Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 117.8 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.001333/0.001333, allocations: 199.8 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.461/1.461, 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.2543/0.2543, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 83.81 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.448, allocations: 62.44 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00424/0.4523, allocations: 1.927 MB / 0.533 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.4548, allocations: 1.123 MB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.4549, allocations: 2.188 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.4555, allocations: 222.6 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.456, allocations: 222.4 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.4563, allocations: 115.7 kB / 0.5346 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.4567, allocations: 259.1 kB / 0.5348 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.4568, allocations: 32.78 kB / 0.5349 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.457, allocations: 125.1 kB / 0.535 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.4572, allocations: 157.8 kB / 0.5351 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.4573, allocations: 8.031 kB / 0.5352 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.4574, allocations: 63.05 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.4575, allocations: 57.73 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.4576, allocations: 90.75 kB / 0.5354 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.458, allocations: 243.7 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.458, allocations: 3.938 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4581, allocations: 0 / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.4581, allocations: 4 kB / 0.5356 GB, free: 10.31 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.0008672/0.4589, allocations: 0.556 MB / 0.5361 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.459, allocations: 9.594 kB / 0.5362 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.4591, allocations: 26.75 kB / 0.5362 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.4596, allocations: 290.7 kB / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.4596, allocations: 10.7 kB / 0.5365 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.4596, allocations: 9.719 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.4599, allocations: 112.9 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.46, allocations: 1.188 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.46, allocations: 1.281 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.46, allocations: 9.875 kB / 0.5366 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.4601, allocations: 44.56 kB / 0.5366 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.4608, allocations: 487 kB / 0.5371 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.4612, allocations: 114 kB / 0.5372 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4613, allocations: 49.38 kB / 0.5373 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.4613, allocations: 6.188 kB / 0.5373 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.4616, allocations: 124 kB / 0.5374 GB, free: 8.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.4616, allocations: 1.25 kB / 0.5374 GB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001393/0.463, allocations: 0.4915 MB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.4631, allocations: 91.58 kB / 0.5379 GB, free: 8.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.4636, allocations: 444.8 kB / 0.5384 GB, free: 8.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.4636, allocations: 35.61 kB / 0.5384 GB, free: 8.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.4638, allocations: 163.4 kB / 0.5386 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.4638, allocations: 69.27 kB / 0.5386 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.464, allocations: 45.58 kB / 0.5387 GB, free: 7.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.4642, allocations: 344.3 kB / 0.539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.4643, allocations: 58.23 kB / 0.5391 GB, free: 7.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.4645, allocations: 98.95 kB / 0.5392 GB, free: 7.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.4647, allocations: 157.6 kB / 0.5393 GB, free: 7.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4648, allocations: 0 / 0.5393 GB, free: 7.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003991/0.4652, allocations: 235.1 kB / 0.5395 GB, free: 7.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4652, allocations: 9.312 kB / 0.5395 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4652, allocations: 5.25 kB / 0.5395 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4652, allocations: 1.375 kB / 0.5395 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.4654, allocations: 39.11 kB / 0.5396 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4654, allocations: 3.375 kB / 0.5396 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.867e-05/0.4655, allocations: 11.05 kB / 0.5396 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.4655, allocations: 10.06 kB / 0.5396 GB, free: 7.078 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.000165/0.4657, allocations: 174.1 kB / 0.5398 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.4657, allocations: 38.12 kB / 0.5398 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.125e-05/0.4658, allocations: 39.22 kB / 0.5398 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4658, allocations: 3.375 kB / 0.5398 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4658, allocations: 3.938 kB / 0.5398 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4659, allocations: 5.297 kB / 0.5399 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009966/0.4669, allocations: 0.7275 MB / 0.5406 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.4669, allocations: 5.828 kB / 0.5406 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.474e-05/0.467, allocations: 31.16 kB / 0.5406 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.467, allocations: 1.906 kB / 0.5406 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.467, allocations: 9.047 kB / 0.5406 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.467, allocations: 2.25 kB / 0.5406 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.467, allocations: 2.062 kB / 0.5406 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.4676, allocations: 434.4 kB / 0.541 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.4677, allocations: 101.8 kB / 0.5411 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.4677, allocations: 12.66 kB / 0.5411 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.4679, allocations: 12.27 kB / 0.5411 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.468, allocations: 19.77 kB / 0.5412 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.468, allocations: 9.688 kB / 0.5412 GB, free: 5.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004196/0.4684, allocations: 334.3 kB / 0.5415 GB, free: 5.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4684, allocations: 0 / 0.5415 GB, free: 5.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004/0.4688, allocations: 53.2 kB / 0.5415 GB, free: 5.562 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.001473/0.4703, allocations: 0.5097 MB / 0.542 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.4708, allocations: 150.5 kB / 0.5422 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4708, allocations: 1.094 kB / 0.5422 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.471, allocations: 86.97 kB / 0.5423 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.4716, allocations: 66.72 kB / 0.5423 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.4727, allocations: 0.5549 MB / 0.5429 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.4731, allocations: 0.7776 MB / 0.5436 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.4732, allocations: 40.52 kB / 0.5437 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.4733, allocations: 27.19 kB / 0.5437 GB, free: 4.031 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4733, allocations: 4 kB / 0.5437 GB, free: 4.027 MB / 398.1 MB Notification: Performance of Templates: time 0.007476/0.4808, allocations: 3.237 MB / 0.5469 GB, free: 1.289 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches