Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.00134/0.00134, allocations: 181 kB / 18.71 MB, free: 4.207 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.312/1.312, 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.2015/0.2015, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 59.91 kB / 470.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4081, allocations: 60.81 MB / 0.519 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003511/0.4117, allocations: 2.234 MB / 0.5212 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.414, allocations: 1.19 MB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.4143, allocations: 7.344 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.4149, allocations: 137.4 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.4155, allocations: 190.9 kB / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.4164, allocations: 322.8 kB / 0.523 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000574/0.417, allocations: 427.3 kB / 0.5234 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.4172, allocations: 57 kB / 0.5234 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.4176, allocations: 281.4 kB / 0.5237 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.4178, allocations: 162.8 kB / 0.5239 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.4179, allocations: 14.53 kB / 0.5239 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.4181, allocations: 67.12 kB / 0.5239 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.4183, allocations: 152.9 kB / 0.5241 GB, free: 484 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.4184, allocations: 194.5 kB / 0.5243 GB, free: 336 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.419, allocations: 469 kB / 0.5247 GB, free: 124 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.419, allocations: 1.375 kB / 0.5247 GB, free: 124 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.419, allocations: 0 / 0.5247 GB, free: 124 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.4191, allocations: 3.938 kB / 0.5247 GB, free: 120 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.001237/0.4203, allocations: 0.8906 MB / 0.5256 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4203, allocations: 9.625 kB / 0.5256 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.4205, allocations: 75.77 kB / 0.5257 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.4212, allocations: 430.8 kB / 0.5261 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.4212, allocations: 12.59 kB / 0.5261 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.4213, allocations: 30 kB / 0.5261 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.4217, allocations: 195.7 kB / 0.5263 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4217, allocations: 2.281 kB / 0.5263 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4218, allocations: 5.938 kB / 0.5263 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.4218, allocations: 4.344 kB / 0.5263 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.422, allocations: 96.66 kB / 0.5264 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009679/0.423, allocations: 0.821 MB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.4237, allocations: 243.4 kB / 0.5275 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.4239, allocations: 94.55 kB / 0.5275 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.4239, allocations: 4.062 kB / 0.5275 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.4243, allocations: 214.2 kB / 0.5278 GB, free: 13.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.214e-06/0.4243, allocations: 0 / 0.5278 GB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002506/0.4268, allocations: 1.172 MB / 0.5289 GB, free: 13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/0.4269, allocations: 136.8 kB / 0.529 GB, free: 12.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.428, allocations: 0.9316 MB / 0.5299 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.428, allocations: 34.27 kB / 0.53 GB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.4282, allocations: 260.8 kB / 0.5302 GB, free: 12.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.4284, allocations: 147.9 kB / 0.5304 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.4285, allocations: 79.78 kB / 0.5304 GB, free: 11.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4287, allocations: 386.4 kB / 0.5308 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.4289, allocations: 112.5 kB / 0.5309 GB, free: 11.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.4292, allocations: 182.5 kB / 0.5311 GB, free: 11.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.4297, allocations: 317.8 kB / 0.5314 GB, free: 11.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4297, allocations: 0 / 0.5314 GB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007257/0.4304, allocations: 447 kB / 0.5318 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.4305, allocations: 12.92 kB / 0.5318 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4305, allocations: 1.5 kB / 0.5318 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4305, allocations: 8.219 kB / 0.5318 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.4308, allocations: 81.22 kB / 0.5319 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.4308, allocations: 11.19 kB / 0.5319 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.431, allocations: 24.45 kB / 0.5319 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.431, allocations: 17.19 kB / 0.532 GB, free: 10.94 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.0002945/0.4313, allocations: 252.5 kB / 0.5322 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4314, allocations: 80.59 kB / 0.5323 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.4316, allocations: 82.28 kB / 0.5324 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.4316, allocations: 5.969 kB / 0.5324 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.4316, allocations: 4.875 kB / 0.5324 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.4316, allocations: 13.11 kB / 0.5324 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.4333, allocations: 1.326 MB / 0.5337 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4333, allocations: 2.312 kB / 0.5337 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4335, allocations: 63.5 kB / 0.5337 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.4335, allocations: 4.25 kB / 0.5337 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.4336, allocations: 12.62 kB / 0.5338 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.4336, allocations: 5.344 kB / 0.5338 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.4336, allocations: 6.859 kB / 0.5338 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4347, allocations: 0.7826 MB / 0.5345 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.4349, allocations: 183.6 kB / 0.5347 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.435, allocations: 19.2 kB / 0.5347 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.4353, allocations: 12.16 kB / 0.5347 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.4354, allocations: 46.2 kB / 0.5348 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.4355, allocations: 29.08 kB / 0.5348 GB, free: 8.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.4366, allocations: 0.673 MB / 0.5355 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4366, allocations: 0 / 0.5355 GB, free: 8.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006432/0.4372, allocations: 88.23 kB / 0.5355 GB, free: 8.426 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.001359/0.4386, allocations: 0.5332 MB / 0.5361 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006978/0.4393, allocations: 322.3 kB / 0.5364 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4393, allocations: 0 / 0.5364 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.4396, allocations: 154.4 kB / 0.5365 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009827/0.4406, allocations: 139.4 kB / 0.5367 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.4424, allocations: 1.182 MB / 0.5378 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.443, allocations: 0.9144 MB / 0.5387 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.4432, allocations: 83.38 kB / 0.5388 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.4434, allocations: 52.39 kB / 0.5388 GB, free: 6.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4434, allocations: 0 / 0.5388 GB, free: 6.32 MB / 398.1 MB Notification: Performance of Templates: time 0.01141/0.4548, allocations: 5.437 MB / 0.5441 GB, free: 1.93 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches