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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001295/0.001295, allocations: 183.9 kB / 18.7 MB, free: 4.371 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.367/1.367, 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.2346/0.2346, allocations: 44.2 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4298, allocations: 60.82 MB / 0.519 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002784/0.4326, allocations: 1.68 MB / 0.5206 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.4338, allocations: 0.855 MB / 0.5214 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.4339, allocations: 0 / 0.5214 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.4342, allocations: 56.02 kB / 0.5215 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.4345, allocations: 60.06 kB / 0.5215 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.4348, allocations: 108.8 kB / 0.5217 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.435, allocations: 95.89 kB / 0.5217 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.4351, allocations: 5.047 kB / 0.5217 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.4352, allocations: 45.34 kB / 0.5218 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.4353, allocations: 39.67 kB / 0.5218 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.4353, allocations: 3.5 kB / 0.5218 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.044e-05/0.4354, allocations: 25.98 kB / 0.5219 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.4354, allocations: 20.2 kB / 0.5219 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.4355, allocations: 36.53 kB / 0.5219 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.4357, allocations: 88.59 kB / 0.522 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4357, allocations: 0 / 0.522 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4357, allocations: 0.7031 kB / 0.522 GB, free: 1.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4357, allocations: 1.188 kB / 0.522 GB, free: 1.863 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005075/0.4362, allocations: 401.2 kB / 0.5224 GB, free: 1.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4363, allocations: 10.52 kB / 0.5224 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.4363, allocations: 8.406 kB / 0.5224 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.4366, allocations: 205.5 kB / 0.5226 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4366, allocations: 5.438 kB / 0.5226 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4366, allocations: 11 kB / 0.5226 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.4368, allocations: 49.89 kB / 0.5227 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4368, allocations: 0 / 0.5227 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4368, allocations: 1.859 kB / 0.5227 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4369, allocations: 0 / 0.5227 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.4369, allocations: 14.69 kB / 0.5227 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.4371, allocations: 173.8 kB / 0.5228 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.4373, allocations: 61.62 kB / 0.5229 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.4374, allocations: 23.7 kB / 0.5229 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4374, allocations: 1.25 kB / 0.5229 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.4376, allocations: 64.77 kB / 0.523 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.552e-06/0.4376, allocations: 0 / 0.523 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000322/0.4379, allocations: 95.02 kB / 0.5231 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.438, allocations: 61.22 kB / 0.5231 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.4382, allocations: 166.4 kB / 0.5233 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4382, allocations: 31.73 kB / 0.5233 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.4382, allocations: 93.3 kB / 0.5234 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.4383, allocations: 15.88 kB / 0.5234 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.4383, allocations: 21.12 kB / 0.5234 GB, free: 492 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.4384, allocations: 325 kB / 0.5238 GB, free: 164 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.4384, allocations: 18.08 kB / 0.5238 GB, free: 156 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.4385, allocations: 30.09 kB / 0.5238 GB, free: 132 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.4386, allocations: 41.61 kB / 0.5238 GB, free: 104 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4386, allocations: 1.312 kB / 0.5238 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001607/0.4388, allocations: 91.7 kB / 0.5239 GB, free: 40 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4388, allocations: 9.094 kB / 0.5239 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4388, allocations: 1.719 kB / 0.5239 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.4389, allocations: 0.5625 kB / 0.5239 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.439, allocations: 10.09 kB / 0.524 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.439, allocations: 2.125 kB / 0.524 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.439, allocations: 10.45 kB / 0.524 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4391, allocations: 3.078 kB / 0.524 GB, free: 28 kB / 382.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 (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 0.0001387/0.4392, allocations: 123.2 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.4392, allocations: 12.28 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.4393, allocations: 18.17 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4393, allocations: 1.094 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4393, allocations: 0.7031 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4393, allocations: 0 / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.4395, allocations: 188 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4395, allocations: 1.75 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.4395, allocations: 2.906 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.4396, allocations: 1.156 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4396, allocations: 1.719 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4396, allocations: 0 / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4396, allocations: 5.781 kB / 0.5243 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.4398, allocations: 115.5 kB / 0.5244 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.4399, allocations: 84.47 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.4399, allocations: 1.906 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.4399, allocations: 3.516 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.44, allocations: 3.266 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.44, allocations: 2.906 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.4402, allocations: 137.7 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4402, allocations: 1.188 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.4404, allocations: 17.55 kB / 0.5247 GB, free: 15.38 MB / 398.1 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.001046/0.4415, allocations: 413.3 kB / 0.5251 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.4417, allocations: 39.14 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4417, allocations: 4.969 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.4418, allocations: 22.38 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.4421, allocations: 35.11 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.4425, allocations: 178.7 kB / 0.5253 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.4429, allocations: 0.6983 MB / 0.526 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.4429, allocations: 15.03 kB / 0.526 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.443, allocations: 13.56 kB / 0.526 GB, free: 14.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.443, allocations: 6.125 kB / 0.526 GB, free: 14.3 MB / 398.1 MB Notification: Performance of Templates: time 0.004885/0.4479, allocations: 1.502 MB / 0.5275 GB, free: 13.88 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches