Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 118.8 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 205.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, 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.2243/0.2243, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 75.88 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4408, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003952/0.4448, allocations: 1.739 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.4466, allocations: 1.018 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.4467, allocations: 3.938 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.447, allocations: 40.2 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.4473, allocations: 100.4 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.4475, allocations: 74.92 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.4477, allocations: 108.9 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.4478, allocations: 10.88 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.4479, allocations: 40.3 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.142e-05/0.448, allocations: 42.77 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.448, allocations: 4.125 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/0.4481, allocations: 39.48 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.4482, allocations: 26.72 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.4483, allocations: 32 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.4485, allocations: 121.5 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4485, allocations: 1.406 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4485, allocations: 4 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.4485, allocations: 0 / 0.5344 GB, free: 11.05 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.0005947/0.4491, allocations: 414.8 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4492, allocations: 9.375 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.4492, allocations: 13.53 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.4496, allocations: 217.2 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4496, allocations: 2.062 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.4496, allocations: 9.594 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.4499, allocations: 54.36 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.4499, allocations: 5.312 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.45, allocations: 4 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.45, allocations: 5.391 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.45, allocations: 14.06 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.4505, allocations: 290 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.4506, allocations: 62.12 kB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.4507, allocations: 25.58 kB / 0.5355 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.4507, allocations: 0.9375 kB / 0.5355 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.4509, allocations: 65.48 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.4509, allocations: 0 / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005719/0.4515, allocations: 174.2 kB / 0.5357 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.4516, allocations: 57.59 kB / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.4518, allocations: 196.4 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.4518, allocations: 26.83 kB / 0.536 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.4519, allocations: 104.5 kB / 0.5361 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.4519, allocations: 23.22 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.452, allocations: 28.52 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4521, allocations: 327.3 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.4522, allocations: 26.33 kB / 0.5364 GB, free: 9.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.4523, allocations: 32 kB / 0.5365 GB, free: 9.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.4524, allocations: 58.88 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4524, allocations: 0 / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.4526, allocations: 107.7 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4527, allocations: 5.938 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.4527, allocations: 0 / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4527, allocations: 9.344 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.4528, allocations: 16.88 kB / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4528, allocations: 1.094 kB / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.4529, allocations: 10.58 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.4529, allocations: 2.156 kB / 0.5367 GB, free: 8.891 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.0001005/0.453, allocations: 123.5 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.453, allocations: 9.094 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.4531, allocations: 18.73 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4531, allocations: 9.312 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4531, allocations: 0 / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4531, allocations: 5.312 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.4535, allocations: 401.5 kB / 0.5372 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4535, allocations: 1.312 kB / 0.5372 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.4536, allocations: 7.812 kB / 0.5372 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4536, allocations: 0 / 0.5372 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4536, allocations: 10.53 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4536, allocations: 0 / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4536, allocations: 5.375 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.4539, allocations: 195.9 kB / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.4539, allocations: 92.38 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.454, allocations: 10.41 kB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.4541, allocations: 1.469 kB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.4541, allocations: 8.172 kB / 0.5375 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.4541, allocations: 6.531 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.4543, allocations: 152.3 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4543, allocations: 1.031 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.4545, allocations: 24.25 kB / 0.5377 GB, free: 7.926 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.001075/0.4556, allocations: 464.3 kB / 0.5381 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.4558, allocations: 62.27 kB / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4558, allocations: 0 / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.4559, allocations: 33.92 kB / 0.5382 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.4562, allocations: 25.38 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.4568, allocations: 238.9 kB / 0.5385 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.4573, allocations: 0.702 MB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.086e-05/0.4573, allocations: 19.11 kB / 0.5392 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.4574, allocations: 14.88 kB / 0.5392 GB, free: 6.719 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4574, allocations: 0 / 0.5392 GB, free: 6.719 MB / 398.1 MB Notification: Performance of Templates: time 0.005041/0.4624, allocations: 1.737 MB / 0.5409 GB, free: 5.844 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches