Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, 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.405/1.405, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001007/0.001007, allocations: 100.5 kB / 291.9 MB, free: 10.93 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.3607/0.3607, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 55.92 kB / 457.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4304, allocations: 60.8 MB / 0.5064 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003667/0.4341, allocations: 1.721 MB / 0.5081 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.4356, allocations: 0.8451 MB / 0.5089 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.432e-05/0.4357, allocations: 2.938 kB / 0.5089 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.436, allocations: 50.08 kB / 0.5089 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.4362, allocations: 52.23 kB / 0.509 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.4365, allocations: 93.2 kB / 0.5091 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.4367, allocations: 93.48 kB / 0.5092 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.697e-05/0.4367, allocations: 12.53 kB / 0.5092 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.4368, allocations: 42.88 kB / 0.5092 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.4369, allocations: 40.59 kB / 0.5093 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.4369, allocations: 3.938 kB / 0.5093 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.437, allocations: 25.59 kB / 0.5093 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.4371, allocations: 15.08 kB / 0.5093 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.4371, allocations: 28.52 kB / 0.5093 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.4373, allocations: 96.16 kB / 0.5094 GB, free: 36.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4373, allocations: 0 / 0.5094 GB, free: 36.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4373, allocations: 0 / 0.5094 GB, free: 36.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.4373, allocations: 0 / 0.5094 GB, free: 36.13 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.0005552/0.4379, allocations: 402.7 kB / 0.5098 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.438, allocations: 10.34 kB / 0.5098 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.438, allocations: 7.438 kB / 0.5098 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.4382, allocations: 207.7 kB / 0.51 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4382, allocations: 7.062 kB / 0.51 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.4383, allocations: 7.266 kB / 0.51 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.4384, allocations: 47.55 kB / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4384, allocations: 0 / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4384, allocations: 0 / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4385, allocations: 0 / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.4385, allocations: 19.78 kB / 0.5101 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.4387, allocations: 175.2 kB / 0.5103 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.4389, allocations: 56 kB / 0.5103 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.439, allocations: 24.81 kB / 0.5104 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.439, allocations: 0 / 0.5104 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.4392, allocations: 65.53 kB / 0.5104 GB, free: 35.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.4392, allocations: 2.781 kB / 0.5104 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002793/0.4395, allocations: 96.92 kB / 0.5105 GB, free: 35.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.4395, allocations: 51.41 kB / 0.5106 GB, free: 35.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.4397, allocations: 174.1 kB / 0.5107 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.4397, allocations: 25.7 kB / 0.5107 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.4398, allocations: 100.6 kB / 0.5108 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.4398, allocations: 10.41 kB / 0.5109 GB, free: 34.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.4398, allocations: 18.94 kB / 0.5109 GB, free: 34.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.4399, allocations: 328.1 kB / 0.5112 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.44, allocations: 16.06 kB / 0.5112 GB, free: 34.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.44, allocations: 31.95 kB / 0.5112 GB, free: 34.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.101e-05/0.4401, allocations: 46.38 kB / 0.5113 GB, free: 34.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4401, allocations: 0 / 0.5113 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001384/0.4403, allocations: 84.44 kB / 0.5114 GB, free: 34.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4403, allocations: 4.812 kB / 0.5114 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4403, allocations: 6.594 kB / 0.5114 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4403, allocations: 3.938 kB / 0.5114 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.4404, allocations: 7.969 kB / 0.5114 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4404, allocations: 6.938 kB / 0.5114 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.4405, allocations: 7.312 kB / 0.5114 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4405, allocations: 2.906 kB / 0.5114 GB, free: 34.3 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 8.925e-05/0.4406, allocations: 126.5 kB / 0.5115 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.4406, allocations: 6.781 kB / 0.5115 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.4407, allocations: 17.52 kB / 0.5115 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4407, allocations: 4 kB / 0.5115 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4407, allocations: 0 / 0.5115 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4407, allocations: 0 / 0.5115 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.4408, allocations: 196.9 kB / 0.5117 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4409, allocations: 0 / 0.5117 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.4409, allocations: 2.469 kB / 0.5117 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4409, allocations: 2.812 kB / 0.5117 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.4409, allocations: 0 / 0.5117 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4409, allocations: 3.188 kB / 0.5117 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4409, allocations: 3.984 kB / 0.5117 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.4413, allocations: 0.6878 MB / 0.5124 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.4414, allocations: 83.89 kB / 0.5125 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.4414, allocations: 0 / 0.5125 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.4414, allocations: 10.33 kB / 0.5125 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4415, allocations: 0 / 0.5125 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4415, allocations: 6.688 kB / 0.5125 GB, free: 33.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.589e-05/0.4416, allocations: 137.3 kB / 0.5126 GB, free: 33.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4416, allocations: 0 / 0.5126 GB, free: 33.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003263/0.4419, allocations: 24.91 kB / 0.5127 GB, free: 33.05 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.0009915/0.4429, allocations: 401.7 kB / 0.513 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.4431, allocations: 46.55 kB / 0.5131 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4431, allocations: 0 / 0.5131 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.883e-05/0.4432, allocations: 18.34 kB / 0.5131 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.4434, allocations: 37.16 kB / 0.5131 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.4439, allocations: 309.1 kB / 0.5134 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.4441, allocations: 0.7029 MB / 0.5141 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.4442, allocations: 6.25 kB / 0.5141 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.4442, allocations: 16.47 kB / 0.5141 GB, free: 31.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4442, allocations: 6.812 kB / 0.5142 GB, free: 31.85 MB / 378.7 MB Notification: Performance of Templates: time 0.00375/0.448, allocations: 1.447 MB / 0.5156 GB, free: 31.67 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches