Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, 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.419/1.419, 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.001101/0.001101, allocations: 106.5 kB / 291.9 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.6151/0.6151, allocations: 44.12 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001079, allocations: 55.92 kB / 457.8 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4489, allocations: 60.81 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003191/0.4522, allocations: 1.754 MB / 0.5081 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.4535, allocations: 0.871 MB / 0.509 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.4536, allocations: 4 kB / 0.509 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.4539, allocations: 44.17 kB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.4541, allocations: 50.62 kB / 0.5091 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.4544, allocations: 92.94 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.4545, allocations: 102.8 kB / 0.5092 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.4546, allocations: 9.328 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.4547, allocations: 42.05 kB / 0.5093 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.4548, allocations: 35.03 kB / 0.5093 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.4548, allocations: 0 / 0.5093 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.4549, allocations: 43.03 kB / 0.5094 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.455, allocations: 22.75 kB / 0.5094 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.4551, allocations: 36.27 kB / 0.5094 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.4552, allocations: 116.6 kB / 0.5095 GB, free: 36.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4553, allocations: 6.812 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4553, allocations: 0 / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4553, allocations: 0 / 0.5095 GB, free: 36.2 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.0006313/0.4559, allocations: 427.6 kB / 0.51 GB, free: 35.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.456, allocations: 8.844 kB / 0.51 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.456, allocations: 10.66 kB / 0.51 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.4563, allocations: 213.2 kB / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.4563, allocations: 3.281 kB / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.4563, allocations: 7.219 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4565, allocations: 58.12 kB / 0.5102 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4565, allocations: 7.875 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4565, allocations: 2.312 kB / 0.5103 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4565, allocations: 0 / 0.5103 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.369e-05/0.4566, allocations: 20.89 kB / 0.5103 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.457, allocations: 293.9 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.4571, allocations: 57.81 kB / 0.5106 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.4572, allocations: 20.66 kB / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.4572, allocations: 0 / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.4574, allocations: 71.09 kB / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4574, allocations: 0 / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005488/0.458, allocations: 183.6 kB / 0.5109 GB, free: 35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.458, allocations: 51.41 kB / 0.5109 GB, free: 34.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.4583, allocations: 225.3 kB / 0.5111 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.4583, allocations: 29.03 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.4583, allocations: 109 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.4584, allocations: 14.72 kB / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.4584, allocations: 28.89 kB / 0.5113 GB, free: 34.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.4585, allocations: 327.9 kB / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.4586, allocations: 23.98 kB / 0.5116 GB, free: 34.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/0.4586, allocations: 35.56 kB / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.4587, allocations: 66.98 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4588, allocations: 0 / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001587/0.4589, allocations: 103 kB / 0.5118 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4589, allocations: 5.812 kB / 0.5118 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.459, allocations: 4.031 kB / 0.5118 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.459, allocations: 0 / 0.5118 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.4591, allocations: 24.47 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.4591, allocations: 2.594 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.4592, allocations: 3.938 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4592, allocations: 10.97 kB / 0.5119 GB, free: 34.15 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 0.0001196/0.4593, allocations: 127.7 kB / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.4594, allocations: 13.62 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.4594, allocations: 22.48 kB / 0.512 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4595, allocations: 4 kB / 0.512 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4595, allocations: 0 / 0.512 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.4595, allocations: 6.875 kB / 0.5121 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.46, allocations: 394.8 kB / 0.5124 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.46, allocations: 2.938 kB / 0.5124 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.4601, allocations: 16.95 kB / 0.5124 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4601, allocations: 2.844 kB / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4601, allocations: 3.938 kB / 0.5125 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4601, allocations: 7 kB / 0.5125 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4601, allocations: 0 / 0.5125 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.4607, allocations: 0.7832 MB / 0.5132 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.4608, allocations: 83.95 kB / 0.5133 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.4608, allocations: 6.203 kB / 0.5133 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4609, allocations: 10.84 kB / 0.5133 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.461, allocations: 6.266 kB / 0.5133 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.461, allocations: 2.75 kB / 0.5133 GB, free: 32.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000185/0.4612, allocations: 171 kB / 0.5135 GB, free: 32.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4612, allocations: 0 / 0.5135 GB, free: 32.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006426/0.4619, allocations: 24.62 kB / 0.5135 GB, free: 32.67 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.001545/0.4634, allocations: 463.4 kB / 0.514 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.4637, allocations: 67.92 kB / 0.514 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4637, allocations: 0 / 0.514 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.51e-05/0.4638, allocations: 39.31 kB / 0.5141 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.4644, allocations: 29.69 kB / 0.5141 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.4651, allocations: 399.7 kB / 0.5145 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.4653, allocations: 0.7144 MB / 0.5152 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.514e-05/0.4653, allocations: 16.61 kB / 0.5152 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.4654, allocations: 15.91 kB / 0.5152 GB, free: 31.38 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4654, allocations: 3.938 kB / 0.5152 GB, free: 31.37 MB / 378.7 MB Notification: Performance of Templates: time 0.00605/0.4715, allocations: 1.688 MB / 0.5169 GB, free: 31.18 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches