Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 106.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.001989/0.001989, allocations: 187.1 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.479/1.479, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.234/0.234, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4144, allocations: 60.82 MB / 0.519 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003864/0.4183, allocations: 1.668 MB / 0.5206 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.4199, allocations: 0.8595 MB / 0.5214 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.42, allocations: 4.906 kB / 0.5214 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.4203, allocations: 51.09 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.4206, allocations: 56 kB / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.4209, allocations: 107.7 kB / 0.5217 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.4211, allocations: 91.7 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.4212, allocations: 6.281 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.4213, allocations: 39.97 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.4214, allocations: 29.72 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.4214, allocations: 3.375 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.4215, allocations: 33.97 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.4216, allocations: 22.67 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.4217, allocations: 42.59 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.4219, allocations: 116.6 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4219, allocations: 1.469 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4219, allocations: 0 / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.4219, allocations: 3.938 kB / 0.522 GB, free: 1.57 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.0005288/0.4225, allocations: 432.1 kB / 0.5224 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4225, allocations: 9.406 kB / 0.5224 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.4226, allocations: 15.53 kB / 0.5225 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.4229, allocations: 216.4 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.4229, allocations: 1.406 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.4229, allocations: 7.125 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.4231, allocations: 45.77 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4231, allocations: 1.812 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4231, allocations: 0 / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4231, allocations: 4 kB / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.4232, allocations: 15.28 kB / 0.5227 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.4234, allocations: 194.8 kB / 0.5229 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.4236, allocations: 51.72 kB / 0.523 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.4237, allocations: 23.67 kB / 0.523 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.4237, allocations: 5.938 kB / 0.523 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.4238, allocations: 64.89 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.4239, allocations: 0 / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002938/0.4242, allocations: 100.1 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.4242, allocations: 53.36 kB / 0.5232 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.4245, allocations: 261.9 kB / 0.5235 GB, free: 296 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.4245, allocations: 26.8 kB / 0.5235 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.4245, allocations: 114.4 kB / 0.5236 GB, free: 156 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.4246, allocations: 11.62 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.4246, allocations: 24.5 kB / 0.5236 GB, free: 124 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4247, allocations: 324.2 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.4248, allocations: 13.86 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.4249, allocations: 30.66 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.425, allocations: 50.58 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.425, allocations: 0 / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001657/0.4252, allocations: 85.89 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4252, allocations: 5.656 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.4252, allocations: 0.7031 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4252, allocations: 6.109 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.4253, allocations: 15.12 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4253, allocations: 0 / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.4254, allocations: 7.125 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.4254, allocations: 6.281 kB / 0.5241 GB, free: 15.67 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.0001139/0.4255, allocations: 137.3 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.4255, allocations: 14.06 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.4256, allocations: 19.42 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4256, allocations: 0 / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4256, allocations: 3.938 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4256, allocations: 2.328 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.4258, allocations: 192.8 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4258, allocations: 0 / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.4258, allocations: 12.53 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4258, allocations: 1.156 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4258, allocations: 0.6094 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4258, allocations: 1.828 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4258, allocations: 0 / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.426, allocations: 116 kB / 0.5246 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.4261, allocations: 88.78 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.4261, allocations: 5.219 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.4262, allocations: 7.312 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.4262, allocations: 4.219 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.4262, allocations: 0.9844 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.4264, allocations: 204.1 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4264, allocations: 0 / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.4267, allocations: 14.03 kB / 0.5249 GB, free: 15 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.0009586/0.4276, allocations: 424.6 kB / 0.5253 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.4278, allocations: 45.94 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4279, allocations: 0 / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.4279, allocations: 18.16 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.0002936/0.4282, allocations: 33.16 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.0005681/0.4288, allocations: 249.9 kB / 0.5257 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.4291, allocations: 0.7231 MB / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.315e-05/0.4292, allocations: 20.11 kB / 0.5264 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.4292, allocations: 14.78 kB / 0.5264 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4292, allocations: 0 / 0.5264 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.004919/0.4342, allocations: 1.531 MB / 0.5279 GB, free: 13.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches