Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4641, allocations: 60.83 MB / 0.519 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003734/0.4679, allocations: 1.703 MB / 0.5207 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.4695, allocations: 0.8713 MB / 0.5215 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.619e-05/0.4696, allocations: 4.812 kB / 0.5215 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.47, allocations: 45.56 kB / 0.5215 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.4703, allocations: 58.7 kB / 0.5216 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.4706, allocations: 114 kB / 0.5217 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.4708, allocations: 91.41 kB / 0.5218 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.471, allocations: 7.953 kB / 0.5218 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.4711, allocations: 46.19 kB / 0.5219 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.4712, allocations: 33.75 kB / 0.5219 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.4712, allocations: 4.312 kB / 0.5219 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.4713, allocations: 42.62 kB / 0.5219 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.4714, allocations: 26.53 kB / 0.522 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.4715, allocations: 32.39 kB / 0.522 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.4717, allocations: 109.9 kB / 0.5221 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.4717, allocations: 0.75 kB / 0.5221 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.4718, allocations: 0 / 0.5221 GB, free: 1.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.4718, allocations: 4.969 kB / 0.5221 GB, free: 1.801 MB / 382.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.00065/0.4724, allocations: 410.3 kB / 0.5225 GB, free: 1.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4725, allocations: 9.641 kB / 0.5225 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.4725, allocations: 10.56 kB / 0.5225 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.4728, allocations: 201.9 kB / 0.5227 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.4729, allocations: 1.562 kB / 0.5227 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.4729, allocations: 11.16 kB / 0.5227 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.4731, allocations: 49.69 kB / 0.5228 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.4731, allocations: 8.938 kB / 0.5228 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4731, allocations: 4.75 kB / 0.5228 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4731, allocations: 12.94 kB / 0.5228 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.36e-05/0.4732, allocations: 18.02 kB / 0.5228 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.4736, allocations: 286.5 kB / 0.5231 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.4738, allocations: 52.48 kB / 0.5231 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.4738, allocations: 27.36 kB / 0.5232 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4739, allocations: 5.219 kB / 0.5232 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.474, allocations: 62.09 kB / 0.5232 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.474, allocations: 1.25 kB / 0.5232 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005952/0.4746, allocations: 176.4 kB / 0.5234 GB, free: 0.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.4747, allocations: 56.84 kB / 0.5234 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.4749, allocations: 186.4 kB / 0.5236 GB, free: 440 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.4749, allocations: 30.7 kB / 0.5236 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.4749, allocations: 99.47 kB / 0.5237 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.475, allocations: 25.62 kB / 0.5238 GB, free: 288 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.475, allocations: 26.84 kB / 0.5238 GB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4751, allocations: 325.5 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.4752, allocations: 18.33 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.4753, allocations: 38.62 kB / 0.5242 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.4754, allocations: 65.66 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4755, allocations: 1.062 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002161/0.4757, allocations: 108.6 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4757, allocations: 6.641 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4757, allocations: 0 / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4757, allocations: 1.188 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.4759, allocations: 15.91 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4759, allocations: 1.125 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.4759, allocations: 11.23 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.4759, allocations: 2.312 kB / 0.5244 GB, free: 15.79 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.000114/0.4761, allocations: 130 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.4761, allocations: 13.06 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.4761, allocations: 15.75 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4762, allocations: 1.953 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4762, allocations: 3.938 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4762, allocations: 4.594 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.4767, allocations: 390.3 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4767, allocations: 5.375 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.4767, allocations: 17.14 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4767, allocations: 0 / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4767, allocations: 6.031 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4767, allocations: 1.562 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4767, allocations: 1.453 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.477, allocations: 205.2 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.4771, allocations: 85.27 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.4771, allocations: 6.359 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.4772, allocations: 2.438 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.4772, allocations: 14.19 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.4772, allocations: 4.25 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.4774, allocations: 142.7 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4774, allocations: 4 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.4777, allocations: 22.2 kB / 0.5254 GB, free: 14.9 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.001084/0.4787, allocations: 466.4 kB / 0.5258 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.479, allocations: 65.81 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.479, allocations: 0 / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.4791, allocations: 28.2 kB / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.4794, allocations: 26.8 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.48, allocations: 215.3 kB / 0.5262 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4803, allocations: 0.7167 MB / 0.5269 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.4803, allocations: 12.52 kB / 0.5269 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.4804, allocations: 20.27 kB / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4804, allocations: 0 / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of Templates: time 0.005171/0.4856, allocations: 1.707 MB / 0.5286 GB, free: 13.18 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches