Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001925, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 96.83 kB / 291.8 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4254/0.4254, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.92 kB / 457.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4958, allocations: 60.8 MB / 0.5064 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.004612/0.5005, allocations: 1.756 MB / 0.5081 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.5022, allocations: 0.8707 MB / 0.509 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.5023, allocations: 3.938 kB / 0.509 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.5027, allocations: 48.3 kB / 0.509 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.503, allocations: 48.55 kB / 0.5091 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.5033, allocations: 94.53 kB / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.5035, allocations: 93.48 kB / 0.5092 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.5037, allocations: 18.45 kB / 0.5093 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.5038, allocations: 40.19 kB / 0.5093 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.5039, allocations: 31.42 kB / 0.5093 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.5039, allocations: 1.344 kB / 0.5093 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.5041, allocations: 39.91 kB / 0.5094 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.5042, allocations: 28.67 kB / 0.5094 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.5043, allocations: 36.95 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.5045, allocations: 118.9 kB / 0.5095 GB, free: 36.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/0.5045, allocations: 0 / 0.5095 GB, free: 36.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5046, allocations: 0 / 0.5095 GB, free: 36.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.5046, allocations: 0 / 0.5095 GB, free: 36.32 MB / 378.7 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.0006402/0.5052, allocations: 428.2 kB / 0.5099 GB, free: 35.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5053, allocations: 8.906 kB / 0.51 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.5053, allocations: 10.66 kB / 0.51 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.5056, allocations: 214.6 kB / 0.5102 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.5056, allocations: 4.312 kB / 0.5102 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.5056, allocations: 7.156 kB / 0.5102 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.5058, allocations: 63.06 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.5058, allocations: 6.875 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5058, allocations: 4 kB / 0.5103 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.5059, allocations: 0 / 0.5103 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.458e-05/0.5059, allocations: 18.67 kB / 0.5103 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.5063, allocations: 291.7 kB / 0.5105 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.5065, allocations: 56.8 kB / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.5065, allocations: 24.86 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.5066, allocations: 0 / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.5068, allocations: 68.83 kB / 0.5107 GB, free: 35.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.5068, allocations: 0 / 0.5107 GB, free: 35.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006331/0.5074, allocations: 184.3 kB / 0.5109 GB, free: 35.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.5075, allocations: 51.41 kB / 0.5109 GB, free: 35.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.5077, allocations: 232.2 kB / 0.5111 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.5077, allocations: 28.55 kB / 0.5112 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.5078, allocations: 105.2 kB / 0.5113 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.5078, allocations: 22.06 kB / 0.5113 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.5078, allocations: 26.28 kB / 0.5113 GB, free: 34.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.5079, allocations: 325 kB / 0.5116 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.508, allocations: 26.95 kB / 0.5116 GB, free: 34.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.508, allocations: 39.89 kB / 0.5117 GB, free: 34.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.5082, allocations: 53.17 kB / 0.5117 GB, free: 34.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.5082, allocations: 0 / 0.5117 GB, free: 34.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001731/0.5083, allocations: 112.2 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5084, allocations: 2.719 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5084, allocations: 2.688 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.5084, allocations: 0 / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.5085, allocations: 20.56 kB / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5085, allocations: 0 / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.5086, allocations: 6.531 kB / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.5086, allocations: 2.656 kB / 0.5119 GB, free: 34.28 MB / 378.7 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 9.818e-05/0.5087, allocations: 135.2 kB / 0.512 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.5087, allocations: 13 kB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.5088, allocations: 18.67 kB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5088, allocations: 2.531 kB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5088, allocations: 384 / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.5088, allocations: 11.88 kB / 0.5121 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.5092, allocations: 398.2 kB / 0.5124 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5092, allocations: 4 kB / 0.5124 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.5093, allocations: 11.5 kB / 0.5124 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5093, allocations: 2.938 kB / 0.5124 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.5093, allocations: 7.172 kB / 0.5125 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5093, allocations: 2.5 kB / 0.5125 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5093, allocations: 0 / 0.5125 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.5098, allocations: 0.7853 MB / 0.5132 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.5098, allocations: 87.34 kB / 0.5133 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.5098, allocations: 2.844 kB / 0.5133 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.5099, allocations: 2.781 kB / 0.5133 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.51, allocations: 18.11 kB / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.51, allocations: 2.875 kB / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.5101, allocations: 172.8 kB / 0.5135 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5101, allocations: 0 / 0.5135 GB, free: 32.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.5105, allocations: 24.92 kB / 0.5135 GB, free: 32.78 MB / 378.7 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.001273/0.5117, allocations: 466.4 kB / 0.514 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.512, allocations: 64.69 kB / 0.514 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.512, allocations: 0 / 0.514 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.5121, allocations: 24.14 kB / 0.5141 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.5125, allocations: 31.89 kB / 0.5141 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.5132, allocations: 409 kB / 0.5145 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.5135, allocations: 0.7161 MB / 0.5152 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.091e-05/0.5136, allocations: 12.16 kB / 0.5152 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.5137, allocations: 18.11 kB / 0.5152 GB, free: 31.49 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5137, allocations: 3.938 kB / 0.5152 GB, free: 31.48 MB / 378.7 MB Notification: Performance of Templates: time 0.005159/0.5188, allocations: 1.691 MB / 0.5169 GB, free: 31.29 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches