Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.00119/0.00119, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.464/1.464, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2117/0.2117, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3611, allocations: 60.81 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003024/0.3641, allocations: 1.574 MB / 0.5205 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007578/0.3648, allocations: 403.3 kB / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.3649, allocations: 0 / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.3651, allocations: 33.7 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.3653, allocations: 40.62 kB / 0.5209 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.3656, allocations: 109.9 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3658, allocations: 57.7 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3659, allocations: 9.219 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.366, allocations: 22.34 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.489e-05/0.366, allocations: 20.36 kB / 0.5211 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3661, allocations: 6.312 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.354e-05/0.3661, allocations: 34.72 kB / 0.5212 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.3662, allocations: 14.66 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.3662, allocations: 17.45 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.3664, allocations: 86.47 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3664, allocations: 0.9062 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3664, allocations: 0 / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.3665, allocations: 0 / 0.5213 GB, free: 2.039 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004476/0.3669, allocations: 379.7 kB / 0.5216 GB, free: 1.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3669, allocations: 9.547 kB / 0.5216 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.367, allocations: 11.92 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3671, allocations: 187.4 kB / 0.5218 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-06/0.3672, allocations: 1.438 kB / 0.5218 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.3672, allocations: 6.859 kB / 0.5218 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.3673, allocations: 54.72 kB / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3673, allocations: 0 / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3673, allocations: 3.938 kB / 0.5219 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.3674, allocations: 1.344 kB / 0.5219 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3675, allocations: 22.53 kB / 0.5219 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.3678, allocations: 281.1 kB / 0.5222 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.368, allocations: 41.61 kB / 0.5222 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.3681, allocations: 21.67 kB / 0.5222 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.3681, allocations: 4.969 kB / 0.5223 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.3681, allocations: 36.14 kB / 0.5223 GB, free: 1.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3681, allocations: 0 / 0.5223 GB, free: 1.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005561/0.3687, allocations: 152.1 kB / 0.5224 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.3687, allocations: 51.41 kB / 0.5225 GB, free: 0.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3688, allocations: 156 kB / 0.5226 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.3688, allocations: 26.8 kB / 0.5227 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.3689, allocations: 101.9 kB / 0.5228 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3689, allocations: 19.78 kB / 0.5228 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.3689, allocations: 18.59 kB / 0.5228 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.369, allocations: 323.9 kB / 0.5231 GB, free: 284 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.209e-05/0.369, allocations: 20.48 kB / 0.5231 GB, free: 280 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.38e-05/0.3691, allocations: 21.05 kB / 0.5231 GB, free: 276 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.3692, allocations: 56.3 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3692, allocations: 0 / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000174/0.3694, allocations: 92.59 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3694, allocations: 6.625 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3694, allocations: 0 / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3694, allocations: 5 kB / 0.5233 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.3695, allocations: 11.28 kB / 0.5233 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3695, allocations: 2.281 kB / 0.5233 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.3696, allocations: 7.812 kB / 0.5233 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3696, allocations: 5.188 kB / 0.5233 GB, free: 184 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.941e-05/0.3696, allocations: 118.8 kB / 0.5234 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3697, allocations: 7.547 kB / 0.5234 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.37, allocations: 98.78 kB / 0.5235 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.37, allocations: 0 / 0.5235 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.37, allocations: 1.219 kB / 0.5235 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.37, allocations: 0.75 kB / 0.5235 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.3704, allocations: 353.9 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3704, allocations: 0 / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.3705, allocations: 16.34 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3705, allocations: 0.7031 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3705, allocations: 1.469 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3705, allocations: 3.938 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3705, allocations: 6.125 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.3707, allocations: 184.2 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.3708, allocations: 84.28 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3708, allocations: 0.75 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.3709, allocations: 9.109 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.3709, allocations: 4.828 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3709, allocations: 4.969 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.371, allocations: 124.2 kB / 0.5243 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.371, allocations: 0 / 0.5243 GB, free: 15.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.3713, allocations: 11.52 kB / 0.5243 GB, free: 15.3 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009037/0.3722, allocations: 403.7 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.3724, allocations: 47.34 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3724, allocations: 1.188 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/0.3725, allocations: 28.98 kB / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.3728, allocations: 13.42 kB / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.3732, allocations: 188.7 kB / 0.525 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3735, allocations: 0.6967 MB / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.987e-05/0.3736, allocations: 20.05 kB / 0.5257 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.3736, allocations: 16.55 kB / 0.5257 GB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3736, allocations: 0 / 0.5257 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Templates: time 0.00415/0.3778, allocations: 1.125 MB / 0.5268 GB, free: 14.06 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches