Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, 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.306/1.306, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001043/0.001043, allocations: 112.8 kB / 291.9 MB, free: 10.95 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.3503/0.3503, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 55.92 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3649, allocations: 60.8 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003054/0.368, allocations: 1.631 MB / 0.508 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007234/0.3687, allocations: 397.9 kB / 0.5084 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.3688, allocations: 2.781 kB / 0.5084 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.3693, allocations: 454.5 kB / 0.5088 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.3696, allocations: 248.4 kB / 0.509 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.3699, allocations: 112.4 kB / 0.5091 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3701, allocations: 150.5 kB / 0.5093 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.3702, allocations: 12.88 kB / 0.5093 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.3703, allocations: 96.88 kB / 0.5094 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.3705, allocations: 200.7 kB / 0.5096 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3705, allocations: 0 / 0.5096 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.3706, allocations: 27 kB / 0.5096 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3707, allocations: 87.88 kB / 0.5097 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.3707, allocations: 88.94 kB / 0.5098 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3709, allocations: 236.5 kB / 0.51 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.371, allocations: 2.75 kB / 0.51 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.371, allocations: 0 / 0.51 GB, free: 36.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.371, allocations: 0 / 0.51 GB, free: 36.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005676/0.3715, allocations: 0.6214 MB / 0.5106 GB, free: 35.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3716, allocations: 8.75 kB / 0.5106 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.3717, allocations: 37.69 kB / 0.5107 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.3719, allocations: 295.4 kB / 0.5109 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3719, allocations: 3.438 kB / 0.5109 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3719, allocations: 384 / 0.5109 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.372, allocations: 61.03 kB / 0.511 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3721, allocations: 2.875 kB / 0.511 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.3721, allocations: 0 / 0.511 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3721, allocations: 0 / 0.511 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.3722, allocations: 18.64 kB / 0.511 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.3725, allocations: 375.1 kB / 0.5114 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/0.3726, allocations: 34.7 kB / 0.5114 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.3727, allocations: 10.61 kB / 0.5114 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3727, allocations: 0 / 0.5114 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.3727, allocations: 41.94 kB / 0.5115 GB, free: 35.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3727, allocations: 6.875 kB / 0.5115 GB, free: 35.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002267/0.373, allocations: 86.84 kB / 0.5115 GB, free: 35.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.373, allocations: 55.25 kB / 0.5116 GB, free: 35.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/0.3737, allocations: 0.8524 MB / 0.5124 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.3738, allocations: 25.7 kB / 0.5125 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.3739, allocations: 218.8 kB / 0.5127 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.3739, allocations: 11.12 kB / 0.5127 GB, free: 34.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.374, allocations: 20.62 kB / 0.5127 GB, free: 34.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3741, allocations: 363.7 kB / 0.513 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.3742, allocations: 5.938 kB / 0.513 GB, free: 34.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.3742, allocations: 13.31 kB / 0.5131 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.336e-05/0.3743, allocations: 24.86 kB / 0.5131 GB, free: 34.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3743, allocations: 2.594 kB / 0.5131 GB, free: 34.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001225/0.3744, allocations: 90.52 kB / 0.5132 GB, free: 34.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3744, allocations: 11.27 kB / 0.5132 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3744, allocations: 0 / 0.5132 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.3745, allocations: 0 / 0.5132 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.3745, allocations: 5.531 kB / 0.5132 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3746, allocations: 3.938 kB / 0.5132 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.3746, allocations: 2.938 kB / 0.5132 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3746, allocations: 0 / 0.5132 GB, free: 34.04 MB / 378.7 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 (2): * Single equations (assignments): 2 * 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.0001692/0.3748, allocations: 212.1 kB / 0.5134 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3748, allocations: 42.38 kB / 0.5134 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.3751, allocations: 109.6 kB / 0.5135 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3751, allocations: 6.609 kB / 0.5136 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3751, allocations: 0 / 0.5136 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3751, allocations: 3.938 kB / 0.5136 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.3753, allocations: 283.9 kB / 0.5138 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3754, allocations: 0 / 0.5138 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.3754, allocations: 6.203 kB / 0.5138 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3754, allocations: 2.812 kB / 0.5138 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3754, allocations: 4.031 kB / 0.5138 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3754, allocations: 0 / 0.5138 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3754, allocations: 3.938 kB / 0.5138 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.3759, allocations: 0.8215 MB / 0.5146 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.376, allocations: 115.8 kB / 0.5148 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.376, allocations: 0 / 0.5148 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.3761, allocations: 9.812 kB / 0.5148 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3761, allocations: 0 / 0.5148 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3761, allocations: 0 / 0.5148 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007715/0.3769, allocations: 0.6469 MB / 0.5154 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3769, allocations: 0 / 0.5154 GB, free: 32.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.3773, allocations: 18.62 kB / 0.5154 GB, free: 32.43 MB / 378.7 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 (2): * Single equations (assignments): 2 * 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.0008871/0.3782, allocations: 349 kB / 0.5157 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.3783, allocations: 19.98 kB / 0.5158 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3783, allocations: 1.656 kB / 0.5158 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.3784, allocations: 13.42 kB / 0.5158 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.3789, allocations: 38.59 kB / 0.5158 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3802, allocations: 0.9252 MB / 0.5167 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3806, allocations: 0.8175 MB / 0.5175 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.789e-05/0.3806, allocations: 10.84 kB / 0.5175 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.3807, allocations: 10.25 kB / 0.5175 GB, free: 30.99 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3807, allocations: 4 kB / 0.5175 GB, free: 30.99 MB / 378.7 MB Notification: Performance of Templates: time 0.004913/0.3856, allocations: 1.216 MB / 0.5187 GB, free: 30.82 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches