Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.001932/0.001932, allocations: 184.9 kB / 18.71 MB, free: 4.344 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.428/1.428, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2191/0.2191, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4307, allocations: 60.83 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002698/0.4335, allocations: 1.668 MB / 0.5206 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.4347, allocations: 0.8517 MB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.4348, allocations: 5.125 kB / 0.5214 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.435, allocations: 50.5 kB / 0.5215 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.4353, allocations: 60.22 kB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.4355, allocations: 111.2 kB / 0.5217 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.4357, allocations: 92.05 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.4357, allocations: 4.828 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.4358, allocations: 41.78 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.4359, allocations: 29.84 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.4359, allocations: 2.406 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.436, allocations: 30.16 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.4361, allocations: 31.67 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.4361, allocations: 41.28 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.4363, allocations: 117.4 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4363, allocations: 0.9375 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.4363, allocations: 0 / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4363, allocations: 0 / 0.522 GB, free: 1.578 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.0004638/0.4368, allocations: 427.8 kB / 0.5224 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4369, allocations: 9.719 kB / 0.5224 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.4369, allocations: 18.88 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.4371, allocations: 217.2 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4371, allocations: 2.281 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.4372, allocations: 10.03 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.4373, allocations: 49.7 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4373, allocations: 1.156 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4373, allocations: 0.7031 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4373, allocations: 1.438 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.302e-05/0.4374, allocations: 14.2 kB / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.4376, allocations: 189.8 kB / 0.5229 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.4377, allocations: 57.72 kB / 0.523 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.4378, allocations: 22.75 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4378, allocations: 1.312 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.4379, allocations: 65.06 kB / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.438, allocations: 0 / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002728/0.4382, allocations: 106.2 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.4383, allocations: 55.41 kB / 0.5232 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.4385, allocations: 262.5 kB / 0.5235 GB, free: 296 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.4385, allocations: 26.36 kB / 0.5235 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.4386, allocations: 110.8 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.4386, allocations: 8.766 kB / 0.5236 GB, free: 156 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.4386, allocations: 26.78 kB / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4388, allocations: 328.4 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.4388, allocations: 15.53 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/0.4389, allocations: 29.61 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.892e-05/0.439, allocations: 46.09 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.439, allocations: 0 / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001669/0.4392, allocations: 89.98 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4392, allocations: 5.25 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4392, allocations: 1.219 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4392, allocations: 0.75 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.4393, allocations: 14.38 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4393, allocations: 1.156 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.4394, allocations: 6.922 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.4394, allocations: 2.875 kB / 0.5242 GB, free: 15.68 MB / 398.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.0001028/0.4395, allocations: 137.8 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.4395, allocations: 18.23 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.4396, allocations: 17.97 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4396, allocations: 0.875 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4396, allocations: 0 / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4396, allocations: 2.406 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.4398, allocations: 193.6 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4398, allocations: 0 / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.4398, allocations: 3.281 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.4398, allocations: 4.641 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.4398, allocations: 11.17 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4398, allocations: 0 / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4398, allocations: 4 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.4401, allocations: 118.6 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.4401, allocations: 89.23 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.4401, allocations: 1.75 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.4402, allocations: 2.875 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.4402, allocations: 7.562 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4402, allocations: 7.188 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.4404, allocations: 200.1 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4404, allocations: 0 / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.4407, allocations: 18.08 kB / 0.525 GB, free: 14.99 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.000923/0.4416, allocations: 413.2 kB / 0.5253 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.4418, allocations: 42.77 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4418, allocations: 1.469 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.4419, allocations: 21.45 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.4421, allocations: 34.09 kB / 0.5254 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.4426, allocations: 254.4 kB / 0.5257 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.443, allocations: 0.7109 MB / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.443, allocations: 15.48 kB / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.4431, allocations: 18.77 kB / 0.5264 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4431, allocations: 3.938 kB / 0.5264 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.004697/0.4478, allocations: 1.538 MB / 0.5279 GB, free: 13.43 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches