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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 90.39 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.434/0.434, allocations: 44.12 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 55.92 kB / 457.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4124, allocations: 60.8 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003681/0.4162, allocations: 2.281 MB / 0.5086 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.4178, allocations: 1.18 MB / 0.5098 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.418, allocations: 6.719 kB / 0.5098 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.4184, allocations: 106.2 kB / 0.5099 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.4188, allocations: 164.6 kB / 0.51 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.4194, allocations: 292.2 kB / 0.5103 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.4198, allocations: 401.5 kB / 0.5107 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.4199, allocations: 59 kB / 0.5108 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.4202, allocations: 257.2 kB / 0.511 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.4203, allocations: 142.4 kB / 0.5111 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.4204, allocations: 8.656 kB / 0.5111 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.4205, allocations: 62.47 kB / 0.5112 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.4206, allocations: 121.9 kB / 0.5113 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.4208, allocations: 169.8 kB / 0.5115 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.4211, allocations: 410.1 kB / 0.5119 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4211, allocations: 0 / 0.5119 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.4211, allocations: 0 / 0.5119 GB, free: 34.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.4211, allocations: 0 / 0.5119 GB, free: 34.84 MB / 378.7 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.0008943/0.422, allocations: 0.7945 MB / 0.5127 GB, free: 34.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.4221, allocations: 11.56 kB / 0.5127 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.4222, allocations: 63.16 kB / 0.5127 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.4226, allocations: 401.4 kB / 0.5131 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.4226, allocations: 9.938 kB / 0.5131 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.4227, allocations: 26.98 kB / 0.5131 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.423, allocations: 186.4 kB / 0.5133 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.4231, allocations: 0 / 0.5133 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.4231, allocations: 7.031 kB / 0.5133 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.4231, allocations: 6.906 kB / 0.5133 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.4233, allocations: 96.53 kB / 0.5134 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.4241, allocations: 0.7972 MB / 0.5142 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.4246, allocations: 245.6 kB / 0.5144 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.4248, allocations: 88.97 kB / 0.5145 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.4248, allocations: 3.031 kB / 0.5145 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003717/0.4252, allocations: 215.2 kB / 0.5147 GB, free: 32.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.4252, allocations: 0 / 0.5147 GB, free: 32.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002188/0.4274, allocations: 1.101 MB / 0.5158 GB, free: 32.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.4275, allocations: 141.5 kB / 0.5159 GB, free: 32.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/0.4281, allocations: 0.7453 MB / 0.5167 GB, free: 31.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.4281, allocations: 39.58 kB / 0.5167 GB, free: 31.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.4283, allocations: 234.6 kB / 0.5169 GB, free: 31.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.64e-05/0.4284, allocations: 144.4 kB / 0.5171 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4285, allocations: 80.5 kB / 0.5171 GB, free: 31.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.4286, allocations: 371.4 kB / 0.5175 GB, free: 31.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.4288, allocations: 112.6 kB / 0.5176 GB, free: 30.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.4291, allocations: 186 kB / 0.5178 GB, free: 30.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.4295, allocations: 320.8 kB / 0.5181 GB, free: 30.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4295, allocations: 0 / 0.5181 GB, free: 30.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006533/0.4302, allocations: 430 kB / 0.5185 GB, free: 30.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4302, allocations: 8.844 kB / 0.5185 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4302, allocations: 0 / 0.5185 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4303, allocations: 5.875 kB / 0.5185 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.4305, allocations: 89.48 kB / 0.5186 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4305, allocations: 5.938 kB / 0.5186 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.4307, allocations: 23.14 kB / 0.5186 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.4307, allocations: 20.34 kB / 0.5186 GB, free: 30.47 MB / 378.7 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.0002135/0.4309, allocations: 229.8 kB / 0.5189 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.431, allocations: 62.33 kB / 0.5189 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.4312, allocations: 79.45 kB / 0.519 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.4312, allocations: 6.547 kB / 0.519 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.4312, allocations: 4 kB / 0.519 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.4312, allocations: 6.469 kB / 0.519 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.4326, allocations: 1.304 MB / 0.5203 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4326, allocations: 2.781 kB / 0.5203 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.4328, allocations: 57.5 kB / 0.5203 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.4328, allocations: 5.906 kB / 0.5204 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.4328, allocations: 15.89 kB / 0.5204 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.4328, allocations: 6.875 kB / 0.5204 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4329, allocations: 2.969 kB / 0.5204 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.434, allocations: 1.548 MB / 0.5219 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.4342, allocations: 174.3 kB / 0.5221 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.4342, allocations: 11.91 kB / 0.5221 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.4345, allocations: 24.48 kB / 0.5221 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.4346, allocations: 34.62 kB / 0.5221 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.4346, allocations: 26.05 kB / 0.5222 GB, free: 27.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004611/0.4351, allocations: 0.5498 MB / 0.5227 GB, free: 27.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4351, allocations: 0 / 0.5227 GB, free: 27.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000576/0.4357, allocations: 87.17 kB / 0.5228 GB, free: 27.74 MB / 378.7 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.001187/0.4369, allocations: 0.543 MB / 0.5233 GB, free: 27.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.4374, allocations: 308.9 kB / 0.5236 GB, free: 27.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4374, allocations: 0 / 0.5236 GB, free: 27.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.4377, allocations: 166 kB / 0.5238 GB, free: 27.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009016/0.4386, allocations: 116.6 kB / 0.5239 GB, free: 27.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.4401, allocations: 1.44 MB / 0.5253 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.4404, allocations: 0.8849 MB / 0.5261 GB, free: 25.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.4406, allocations: 82.31 kB / 0.5262 GB, free: 25.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.4407, allocations: 49.66 kB / 0.5263 GB, free: 25.61 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4407, allocations: 0 / 0.5263 GB, free: 25.61 MB / 378.7 MB Notification: Performance of Templates: time 0.009814/0.4506, allocations: 5.224 MB / 0.5314 GB, free: 25.13 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches