Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, 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.2414/0.2414, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 76.09 kB / 481.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.533, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003901/0.537, allocations: 1.923 MB / 0.533 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.5391, allocations: 1.124 MB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.5392, allocations: 1.375 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.5398, allocations: 226.6 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004952/0.5403, allocations: 215 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.5406, allocations: 123.1 kB / 0.5346 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.541, allocations: 251.2 kB / 0.5348 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.5412, allocations: 36.56 kB / 0.5349 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.5414, allocations: 120.1 kB / 0.535 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.5416, allocations: 161.5 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.5417, allocations: 8.094 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.5418, allocations: 67.22 kB / 0.5352 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.542, allocations: 53.34 kB / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.5421, allocations: 96.16 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.5425, allocations: 246.7 kB / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.5425, allocations: 0 / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5425, allocations: 0 / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.5425, allocations: 1 kB / 0.5356 GB, free: 10.29 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.00092/0.5435, allocations: 0.5772 MB / 0.5362 GB, free: 9.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.5435, allocations: 9.312 kB / 0.5362 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.5436, allocations: 29.28 kB / 0.5362 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.5441, allocations: 295.7 kB / 0.5365 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5441, allocations: 3.625 kB / 0.5365 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.5442, allocations: 13.03 kB / 0.5365 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.5444, allocations: 108.9 kB / 0.5366 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5445, allocations: 1.312 kB / 0.5366 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.5445, allocations: 5.281 kB / 0.5366 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.5445, allocations: 5.188 kB / 0.5366 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.5447, allocations: 45.28 kB / 0.5367 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.5453, allocations: 482.9 kB / 0.5371 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.5457, allocations: 125.5 kB / 0.5372 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.5459, allocations: 41.45 kB / 0.5373 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.5459, allocations: 9.969 kB / 0.5373 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.5462, allocations: 119.6 kB / 0.5374 GB, free: 8.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.5462, allocations: 1.219 kB / 0.5374 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001507/0.5477, allocations: 0.5029 MB / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.5478, allocations: 84.27 kB / 0.538 GB, free: 8.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.5483, allocations: 449.4 kB / 0.5384 GB, free: 8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.5484, allocations: 36.27 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.5485, allocations: 159.6 kB / 0.5386 GB, free: 7.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.5486, allocations: 76.61 kB / 0.5387 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.5487, allocations: 42.2 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5488, allocations: 348.8 kB / 0.539 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.549, allocations: 57.75 kB / 0.5391 GB, free: 7.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.5491, allocations: 98.66 kB / 0.5392 GB, free: 7.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.5494, allocations: 157 kB / 0.5393 GB, free: 7.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5494, allocations: 0 / 0.5393 GB, free: 7.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004335/0.5499, allocations: 228 kB / 0.5396 GB, free: 7.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.5499, allocations: 9.656 kB / 0.5396 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5499, allocations: 8 kB / 0.5396 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.55, allocations: 2.438 kB / 0.5396 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.5501, allocations: 42.34 kB / 0.5396 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.5501, allocations: 2.188 kB / 0.5396 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.607e-05/0.5502, allocations: 15.67 kB / 0.5396 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.5503, allocations: 7.344 kB / 0.5396 GB, free: 7.027 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.0001888/0.5504, allocations: 169.2 kB / 0.5398 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.5505, allocations: 35.22 kB / 0.5398 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.38e-05/0.5506, allocations: 51.16 kB / 0.5399 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5506, allocations: 2.594 kB / 0.5399 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5506, allocations: 1.281 kB / 0.5399 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5506, allocations: 0 / 0.5399 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.5517, allocations: 0.7315 MB / 0.5406 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.5517, allocations: 6.094 kB / 0.5406 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/0.5518, allocations: 31.23 kB / 0.5406 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.5518, allocations: 3.25 kB / 0.5406 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5518, allocations: 8.031 kB / 0.5406 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.5518, allocations: 2.125 kB / 0.5406 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5518, allocations: 2.281 kB / 0.5406 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.5524, allocations: 427.6 kB / 0.5411 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.5524, allocations: 101.6 kB / 0.5412 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.5525, allocations: 11.17 kB / 0.5412 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.5526, allocations: 8.5 kB / 0.5412 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.5527, allocations: 29.77 kB / 0.5412 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.5528, allocations: 12.45 kB / 0.5412 GB, free: 5.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003948/0.5532, allocations: 330.6 kB / 0.5415 GB, free: 5.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5532, allocations: 0 / 0.5415 GB, free: 5.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.5535, allocations: 49.19 kB / 0.5416 GB, free: 5.516 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.001343/0.5549, allocations: 0.5121 MB / 0.5421 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.5553, allocations: 165.9 kB / 0.5422 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5553, allocations: 1.25 kB / 0.5422 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.5555, allocations: 79.5 kB / 0.5423 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.5561, allocations: 62.77 kB / 0.5424 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.5571, allocations: 0.5619 MB / 0.5429 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.5575, allocations: 0.7713 MB / 0.5437 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.5576, allocations: 40.8 kB / 0.5437 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.5577, allocations: 34.08 kB / 0.5437 GB, free: 3.965 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5577, allocations: 0 / 0.5437 GB, free: 3.965 MB / 398.1 MB Notification: Performance of Templates: time 0.007767/0.5655, allocations: 3.182 MB / 0.5469 GB, free: 1.281 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches