Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, 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.386/1.386, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001406/0.001406, allocations: 96.81 kB / 291.9 MB, free: 10.95 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.3408/0.3408, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001052, allocations: 47.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4056, allocations: 60.81 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003214/0.4089, allocations: 1.722 MB / 0.5081 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.4102, allocations: 0.8539 MB / 0.5089 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.4103, allocations: 2.844 kB / 0.5089 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.4106, allocations: 53.56 kB / 0.509 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.4108, allocations: 57.61 kB / 0.509 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.4111, allocations: 90.38 kB / 0.5091 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.4113, allocations: 94.83 kB / 0.5092 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.4113, allocations: 9.25 kB / 0.5092 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.4114, allocations: 40.69 kB / 0.5092 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.4115, allocations: 45.25 kB / 0.5093 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.4115, allocations: 0 / 0.5093 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.4116, allocations: 32.73 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.4117, allocations: 19.62 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.4117, allocations: 31.09 kB / 0.5094 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.4119, allocations: 93.66 kB / 0.5095 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4119, allocations: 3.938 kB / 0.5095 GB, free: 36.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4119, allocations: 4 kB / 0.5095 GB, free: 36.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.4119, allocations: 0 / 0.5095 GB, free: 36.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004853/0.4124, allocations: 397.8 kB / 0.5098 GB, free: 35.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4125, allocations: 8.781 kB / 0.5099 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.4125, allocations: 11.56 kB / 0.5099 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.4127, allocations: 208.8 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4127, allocations: 3.25 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.4128, allocations: 4.125 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.4129, allocations: 50.84 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4129, allocations: 0 / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.4129, allocations: 0 / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.4129, allocations: 2.875 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.675e-05/0.413, allocations: 13 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.4132, allocations: 181.4 kB / 0.5103 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.4133, allocations: 57.36 kB / 0.5104 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.4134, allocations: 25.52 kB / 0.5104 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.4134, allocations: 3.188 kB / 0.5104 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.4136, allocations: 65.69 kB / 0.5105 GB, free: 35.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.4136, allocations: 2.969 kB / 0.5105 GB, free: 35.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002709/0.4139, allocations: 100.8 kB / 0.5106 GB, free: 35.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.4139, allocations: 51.41 kB / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4141, allocations: 190.1 kB / 0.5108 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.4141, allocations: 29.23 kB / 0.5108 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.4142, allocations: 98.16 kB / 0.5109 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.4142, allocations: 22.61 kB / 0.5109 GB, free: 34.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.4142, allocations: 22.28 kB / 0.5109 GB, free: 34.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.4143, allocations: 320.9 kB / 0.5113 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.4143, allocations: 12.66 kB / 0.5113 GB, free: 34.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.4144, allocations: 29.62 kB / 0.5113 GB, free: 34.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.238e-05/0.4145, allocations: 47.95 kB / 0.5113 GB, free: 34.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4145, allocations: 0 / 0.5113 GB, free: 34.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001316/0.4146, allocations: 86.53 kB / 0.5114 GB, free: 34.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4147, allocations: 3.031 kB / 0.5114 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4147, allocations: 0 / 0.5114 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4147, allocations: 7.094 kB / 0.5114 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.4148, allocations: 12.75 kB / 0.5114 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4148, allocations: 0 / 0.5114 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.4148, allocations: 10.33 kB / 0.5115 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.4148, allocations: 3.219 kB / 0.5115 GB, free: 34.38 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 (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 7.154e-05/0.4149, allocations: 120.9 kB / 0.5116 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.4149, allocations: 12.88 kB / 0.5116 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.415, allocations: 14.22 kB / 0.5116 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.415, allocations: 0 / 0.5116 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.415, allocations: 0 / 0.5116 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.415, allocations: 4 kB / 0.5116 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.4151, allocations: 186.5 kB / 0.5118 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4151, allocations: 0 / 0.5118 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.4152, allocations: 6.781 kB / 0.5118 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4152, allocations: 2.75 kB / 0.5118 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4152, allocations: 3.281 kB / 0.5118 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4152, allocations: 0 / 0.5118 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4152, allocations: 3.938 kB / 0.5118 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.4155, allocations: 0.688 MB / 0.5125 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.4156, allocations: 83.95 kB / 0.5125 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.4156, allocations: 3.422 kB / 0.5125 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.306e-05/0.4156, allocations: 2.875 kB / 0.5126 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.4157, allocations: 2.812 kB / 0.5126 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.4157, allocations: 7.875 kB / 0.5126 GB, free: 33.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.4158, allocations: 152.8 kB / 0.5127 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4158, allocations: 0 / 0.5127 GB, free: 33.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.4161, allocations: 19.5 kB / 0.5127 GB, free: 33.13 MB / 378.7 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.0008872/0.417, allocations: 410 kB / 0.5131 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.4171, allocations: 43.88 kB / 0.5132 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4172, allocations: 0 / 0.5132 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.702e-05/0.4172, allocations: 18.44 kB / 0.5132 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.4175, allocations: 29.89 kB / 0.5132 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.4179, allocations: 331 kB / 0.5135 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.4181, allocations: 0.6997 MB / 0.5142 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.796e-05/0.4181, allocations: 24.39 kB / 0.5142 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.4181, allocations: 16.38 kB / 0.5142 GB, free: 31.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4182, allocations: 0 / 0.5142 GB, free: 31.91 MB / 378.7 MB Notification: Performance of Templates: time 0.003669/0.4218, allocations: 1.451 MB / 0.5157 GB, free: 31.73 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches