Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.00117/0.00117, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.326/1.326, 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.2055/0.2055, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 470.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4204, allocations: 60.82 MB / 0.519 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003757/0.4242, allocations: 2.233 MB / 0.5212 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.4262, allocations: 1.19 MB / 0.5224 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.4264, allocations: 7.188 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.4269, allocations: 117.7 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.4273, allocations: 182.4 kB / 0.5226 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.428, allocations: 322.3 kB / 0.523 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.4285, allocations: 426.3 kB / 0.5234 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.4287, allocations: 57.39 kB / 0.5234 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.4291, allocations: 258.8 kB / 0.5237 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.4293, allocations: 147.5 kB / 0.5238 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.4293, allocations: 15.84 kB / 0.5238 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.4295, allocations: 74.34 kB / 0.5239 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.4297, allocations: 129.5 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.4298, allocations: 184.1 kB / 0.5242 GB, free: 348 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.4304, allocations: 421.5 kB / 0.5246 GB, free: 160 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4304, allocations: 4 kB / 0.5246 GB, free: 156 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4304, allocations: 0 / 0.5246 GB, free: 156 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.4304, allocations: 0 / 0.5246 GB, free: 156 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001186/0.4316, allocations: 0.8183 MB / 0.5254 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4317, allocations: 9.469 kB / 0.5254 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.4318, allocations: 63.75 kB / 0.5255 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.4324, allocations: 402.4 kB / 0.5258 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.4324, allocations: 12.05 kB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.4325, allocations: 26.58 kB / 0.5259 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.4329, allocations: 191.8 kB / 0.5261 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4329, allocations: 6.031 kB / 0.5261 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.4329, allocations: 6.125 kB / 0.5261 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.4329, allocations: 4.125 kB / 0.5261 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.4332, allocations: 91.34 kB / 0.5262 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009187/0.4341, allocations: 0.7992 MB / 0.527 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.4348, allocations: 248.3 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.4349, allocations: 86.03 kB / 0.5273 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.435, allocations: 8.109 kB / 0.5273 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.4353, allocations: 206.1 kB / 0.5275 GB, free: 13.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.4354, allocations: 0 / 0.5275 GB, free: 13.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002466/0.4378, allocations: 1.106 MB / 0.5286 GB, free: 13.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.4379, allocations: 137.8 kB / 0.5287 GB, free: 13.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000989/0.4389, allocations: 0.7617 MB / 0.5294 GB, free: 12.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.439, allocations: 38.23 kB / 0.5295 GB, free: 12.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.4392, allocations: 231.7 kB / 0.5297 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.4393, allocations: 148.2 kB / 0.5298 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.4395, allocations: 86.36 kB / 0.5299 GB, free: 12.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4397, allocations: 368.2 kB / 0.5303 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.4399, allocations: 120 kB / 0.5304 GB, free: 11.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.4403, allocations: 182.9 kB / 0.5306 GB, free: 11.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.4408, allocations: 322.2 kB / 0.5309 GB, free: 11.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4408, allocations: 0 / 0.5309 GB, free: 11.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007808/0.4416, allocations: 440.2 kB / 0.5313 GB, free: 11.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4416, allocations: 9.125 kB / 0.5313 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4417, allocations: 1.906 kB / 0.5313 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.4417, allocations: 4.281 kB / 0.5313 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.442, allocations: 92.67 kB / 0.5314 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.442, allocations: 5.141 kB / 0.5314 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.4422, allocations: 19.36 kB / 0.5314 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.4422, allocations: 21.81 kB / 0.5314 GB, free: 11.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002734/0.4425, allocations: 232.2 kB / 0.5316 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/0.4426, allocations: 65.02 kB / 0.5317 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.4427, allocations: 78.61 kB / 0.5318 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.4428, allocations: 5.781 kB / 0.5318 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.4428, allocations: 1.594 kB / 0.5318 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4428, allocations: 5.438 kB / 0.5318 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.4445, allocations: 1.294 MB / 0.5331 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.4445, allocations: 7.625 kB / 0.5331 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.4447, allocations: 62.47 kB / 0.5331 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.4447, allocations: 4.531 kB / 0.5331 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.4448, allocations: 16.94 kB / 0.5331 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.4448, allocations: 8.609 kB / 0.5332 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.4448, allocations: 11.58 kB / 0.5332 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4459, allocations: 0.779 MB / 0.5339 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.4461, allocations: 175.7 kB / 0.5341 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.4461, allocations: 15.25 kB / 0.5341 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.4464, allocations: 16.42 kB / 0.5341 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.4465, allocations: 37.95 kB / 0.5342 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.4466, allocations: 25.58 kB / 0.5342 GB, free: 9.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006485/0.4472, allocations: 0.5477 MB / 0.5347 GB, free: 8.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4472, allocations: 0 / 0.5347 GB, free: 8.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005432/0.4478, allocations: 86.45 kB / 0.5348 GB, free: 8.832 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001318/0.4491, allocations: 0.5389 MB / 0.5353 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.4497, allocations: 316.8 kB / 0.5356 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4498, allocations: 1.156 kB / 0.5356 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.4501, allocations: 161.7 kB / 0.5358 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.451, allocations: 126.5 kB / 0.5359 GB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.4527, allocations: 1.039 MB / 0.5369 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.4532, allocations: 0.8862 MB / 0.5378 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.4534, allocations: 86.75 kB / 0.5379 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.4536, allocations: 51.3 kB / 0.5379 GB, free: 6.801 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4536, allocations: 0 / 0.5379 GB, free: 6.801 MB / 398.1 MB Notification: Performance of Templates: time 0.01031/0.4639, allocations: 5.37 MB / 0.5432 GB, free: 2.949 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches