Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.73/1.73, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2782/0.2782, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 75.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5106, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003679/0.5144, allocations: 1.688 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.5164, allocations: 1.003 MB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.5166, allocations: 0 / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.5171, allocations: 47.02 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.5176, allocations: 97.84 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.5179, allocations: 81.53 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.5181, allocations: 95.58 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.5181, allocations: 8.344 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.5183, allocations: 40.23 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.5184, allocations: 37.41 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.5184, allocations: 2.75 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.5185, allocations: 32.61 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.9e-05/0.5186, allocations: 26.86 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.5187, allocations: 47.91 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.519, allocations: 128 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.519, allocations: 1.375 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.519, allocations: 0 / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.519, allocations: 0 / 0.5343 GB, free: 11.08 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006421/0.5196, allocations: 442.2 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.5197, allocations: 9.344 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.5197, allocations: 10.77 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.5201, allocations: 227.5 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5201, allocations: 5.531 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.5201, allocations: 6.406 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.5203, allocations: 47.52 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5203, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5203, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5203, allocations: 1.281 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.5204, allocations: 16.73 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.5207, allocations: 200.1 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.5208, allocations: 50.97 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.5209, allocations: 23.94 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.521, allocations: 1.281 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.5211, allocations: 64.7 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.5211, allocations: 0 / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000328/0.5215, allocations: 105 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.5215, allocations: 52.75 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.5218, allocations: 274.7 kB / 0.5358 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.5218, allocations: 26.95 kB / 0.5358 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.5219, allocations: 110.8 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.5219, allocations: 18.12 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.522, allocations: 18.94 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5221, allocations: 328.4 kB / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.5222, allocations: 18.8 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/0.5223, allocations: 31.81 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.5224, allocations: 48.19 kB / 0.5364 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5224, allocations: 0 / 0.5364 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001961/0.5226, allocations: 89.02 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5226, allocations: 9.656 kB / 0.5365 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5226, allocations: 4.031 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.5227, allocations: 5.094 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.5227, allocations: 9.094 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5228, allocations: 1.062 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.5228, allocations: 14.09 kB / 0.5365 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.5229, allocations: 6.062 kB / 0.5365 GB, free: 9.008 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 (7): * Single equations (assignments): 7 * 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.0001321/0.523, allocations: 132.9 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.523, allocations: 14.56 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.5231, allocations: 16.25 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.5231, allocations: 9.203 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5231, allocations: 0 / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5231, allocations: 0 / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.5233, allocations: 204.1 kB / 0.5368 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.5234, allocations: 0 / 0.5368 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.5234, allocations: 4.031 kB / 0.5369 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.5234, allocations: 0 / 0.5369 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5234, allocations: 5 kB / 0.5369 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5234, allocations: 3.938 kB / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5234, allocations: 1.312 kB / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.5237, allocations: 122.5 kB / 0.537 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.5237, allocations: 88.27 kB / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.5238, allocations: 1.062 kB / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.5238, allocations: 6.047 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.5239, allocations: 6.438 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.5239, allocations: 6.312 kB / 0.5371 GB, free: 8.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.5241, allocations: 202 kB / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5241, allocations: 5.25 kB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.5244, allocations: 17 kB / 0.5373 GB, free: 8.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009857/0.5254, allocations: 396.4 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.5256, allocations: 39.8 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5256, allocations: 1.156 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.5257, allocations: 23.7 kB / 0.5377 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.5259, allocations: 33.94 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.5264, allocations: 271.1 kB / 0.538 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.5268, allocations: 0.7148 MB / 0.5387 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.923e-05/0.5269, allocations: 16.77 kB / 0.5387 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.5269, allocations: 17.62 kB / 0.5388 GB, free: 7.09 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5269, allocations: 0 / 0.5388 GB, free: 7.09 MB / 398.1 MB Notification: Performance of Templates: time 0.00505/0.532, allocations: 1.547 MB / 0.5403 GB, free: 6.301 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches