Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001385/0.001385, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.495/1.495, 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.2405/0.2405, allocations: 44.17 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 71.89 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4022, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004021/0.4063, allocations: 1.889 MB / 0.5208 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.4081, allocations: 0.9873 MB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.4082, allocations: 6 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.4088, allocations: 149.9 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.4093, allocations: 140.5 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.41, allocations: 188.7 kB / 0.5223 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00042/0.4104, allocations: 225.4 kB / 0.5225 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.4106, allocations: 30.81 kB / 0.5225 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.4108, allocations: 110 kB / 0.5226 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.4111, allocations: 127.9 kB / 0.5227 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.4111, allocations: 8.812 kB / 0.5228 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.4113, allocations: 62.09 kB / 0.5228 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.4114, allocations: 50.09 kB / 0.5229 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.4116, allocations: 89.2 kB / 0.5229 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.412, allocations: 211 kB / 0.5231 GB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.412, allocations: 0 / 0.5231 GB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.412, allocations: 1.062 kB / 0.5231 GB, free: 1.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.412, allocations: 0 / 0.5231 GB, free: 1.062 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008388/0.4129, allocations: 0.5346 MB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4129, allocations: 7.812 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.059e-05/0.413, allocations: 25.53 kB / 0.5237 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.4134, allocations: 266.1 kB / 0.524 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.4135, allocations: 8.484 kB / 0.524 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.4135, allocations: 14.47 kB / 0.524 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.4139, allocations: 111 kB / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.4139, allocations: 0.7031 kB / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4139, allocations: 1.062 kB / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.4139, allocations: 7.484 kB / 0.5241 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.4141, allocations: 45.2 kB / 0.5241 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007472/0.4149, allocations: 463.7 kB / 0.5246 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.4154, allocations: 125.6 kB / 0.5247 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.4156, allocations: 46.69 kB / 0.5247 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.4156, allocations: 3.312 kB / 0.5247 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.416, allocations: 117.4 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.744e-06/0.416, allocations: 0 / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001921/0.4179, allocations: 493.5 kB / 0.5253 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.418, allocations: 80.47 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005957/0.4186, allocations: 349.4 kB / 0.5257 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.4186, allocations: 32.81 kB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.4188, allocations: 147.6 kB / 0.5259 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.4189, allocations: 67.34 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.419, allocations: 49.34 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.4192, allocations: 340.2 kB / 0.5263 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.4194, allocations: 56.5 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.4197, allocations: 96.89 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.4201, allocations: 162.2 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4201, allocations: 2 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006279/0.4207, allocations: 229 kB / 0.5269 GB, free: 14.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4208, allocations: 12.25 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.4208, allocations: 2.406 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.4208, allocations: 2.75 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.421, allocations: 47.75 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4211, allocations: 1.438 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.4212, allocations: 13.53 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.4212, allocations: 7.578 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002464/0.4215, allocations: 156.4 kB / 0.5271 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.4216, allocations: 32.73 kB / 0.5271 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.676e-05/0.4217, allocations: 36.75 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4217, allocations: 2.75 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4217, allocations: 1.375 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.4217, allocations: 9.234 kB / 0.5272 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.423, allocations: 0.7178 MB / 0.5279 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.423, allocations: 1.094 kB / 0.5279 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.4231, allocations: 31.11 kB / 0.5279 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4232, allocations: 2.5 kB / 0.5279 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.4232, allocations: 12.28 kB / 0.5279 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/0.4232, allocations: 2.188 kB / 0.5279 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4232, allocations: 6.688 kB / 0.5279 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/0.4239, allocations: 422.8 kB / 0.5283 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.424, allocations: 96.3 kB / 0.5284 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.424, allocations: 12.61 kB / 0.5284 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4243, allocations: 7.812 kB / 0.5284 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/0.4244, allocations: 25.72 kB / 0.5285 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.4244, allocations: 12.28 kB / 0.5285 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004036/0.4248, allocations: 262.3 kB / 0.5287 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4248, allocations: 4 kB / 0.5287 GB, free: 12.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005787/0.4254, allocations: 45.97 kB / 0.5288 GB, free: 12.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001855/0.4273, allocations: 0.5176 MB / 0.5293 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005353/0.4278, allocations: 163.9 kB / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4279, allocations: 0 / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.4281, allocations: 84.12 kB / 0.5295 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000851/0.429, allocations: 65.56 kB / 0.5296 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4302, allocations: 476.3 kB / 0.53 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.4307, allocations: 0.7654 MB / 0.5308 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.4309, allocations: 40.2 kB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.431, allocations: 30.31 kB / 0.5309 GB, free: 11.38 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.431, allocations: 0 / 0.5309 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Templates: time 0.009404/0.4404, allocations: 3.099 MB / 0.5339 GB, free: 9.832 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches