Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 192.5 kB / 16.1 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 226.5 MB / 243.4 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007775/0.0007776, allocations: 104 kB / 295.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3287/0.3287, allocations: 44.82 MB / 392.3 MB, free: 35.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003177, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3423, allocations: 62.96 MB / 0.5159 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002099/0.3445, allocations: 1.681 MB / 0.5175 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3459, allocations: 0.9339 MB / 0.5184 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.908e-05/0.3461, allocations: 0 / 0.5184 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.3465, allocations: 249.8 kB / 0.5187 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.3469, allocations: 224.6 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000929/0.3478, allocations: 446.5 kB / 0.5193 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.3481, allocations: 270.4 kB / 0.5196 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.3483, allocations: 66.47 kB / 0.5196 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3484, allocations: 121.2 kB / 0.5197 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.3486, allocations: 165.1 kB / 0.5199 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3486, allocations: 5.625 kB / 0.5199 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3488, allocations: 56.98 kB / 0.52 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.956e-05/0.3489, allocations: 80.11 kB / 0.52 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.349, allocations: 127.6 kB / 0.5202 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.3492, allocations: 234.7 kB / 0.5204 GB, free: 34.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3492, allocations: 0 / 0.5204 GB, free: 34.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3492, allocations: 0 / 0.5204 GB, free: 34.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3492, allocations: 0 / 0.5204 GB, free: 34.59 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005701/0.3498, allocations: 0.5965 MB / 0.521 GB, free: 34.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3499, allocations: 9.031 kB / 0.521 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.3499, allocations: 42.19 kB / 0.521 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.3502, allocations: 319 kB / 0.5213 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3502, allocations: 7.281 kB / 0.5213 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.3503, allocations: 17.09 kB / 0.5213 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.3505, allocations: 102.7 kB / 0.5214 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3505, allocations: 5.984 kB / 0.5214 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3505, allocations: 7.938 kB / 0.5215 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3505, allocations: 2.781 kB / 0.5215 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.3507, allocations: 80.58 kB / 0.5215 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.3512, allocations: 493.3 kB / 0.522 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.3514, allocations: 90.83 kB / 0.5221 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.3515, allocations: 44.48 kB / 0.5221 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.3515, allocations: 2.906 kB / 0.5221 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.3515, allocations: 37.5 kB / 0.5222 GB, free: 33.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.3515, allocations: 0 / 0.5222 GB, free: 33.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008016/0.3523, allocations: 405.1 kB / 0.5226 GB, free: 32.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3524, allocations: 54.34 kB / 0.5226 GB, free: 32.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.3529, allocations: 0.5579 MB / 0.5232 GB, free: 32.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3529, allocations: 29.7 kB / 0.5232 GB, free: 32.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.353, allocations: 204 kB / 0.5234 GB, free: 32.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.353, allocations: 64.97 kB / 0.5234 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.353, allocations: 0 / 0.5234 GB, free: 32.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.3531, allocations: 356.6 kB / 0.5238 GB, free: 32.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3532, allocations: 52.66 kB / 0.5238 GB, free: 32.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-05/0.3533, allocations: 56.55 kB / 0.5239 GB, free: 32.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.3535, allocations: 130.8 kB / 0.524 GB, free: 32.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3535, allocations: 3.938 kB / 0.524 GB, free: 32.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00027/0.3538, allocations: 201.6 kB / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3538, allocations: 9.781 kB / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3538, allocations: 0 / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3539, allocations: 2.875 kB / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.354, allocations: 37.94 kB / 0.5243 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.354, allocations: 0 / 0.5243 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.3541, allocations: 11.38 kB / 0.5243 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3541, allocations: 8.141 kB / 0.5243 GB, free: 31.92 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.3542, allocations: 182.4 kB / 0.5244 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.3543, allocations: 42.09 kB / 0.5245 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.3547, allocations: 236.1 kB / 0.5247 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3547, allocations: 2.938 kB / 0.5247 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3547, allocations: 4 kB / 0.5247 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3547, allocations: 3.422 kB / 0.5247 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.3553, allocations: 0.6302 MB / 0.5253 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3553, allocations: 4 kB / 0.5253 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.905e-05/0.3554, allocations: 43.59 kB / 0.5254 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-06/0.3555, allocations: 3.938 kB / 0.5254 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3555, allocations: 2.562 kB / 0.5254 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3555, allocations: 2.531 kB / 0.5254 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3555, allocations: 3.938 kB / 0.5254 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.3558, allocations: 311.3 kB / 0.5257 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.3559, allocations: 122.3 kB / 0.5258 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.3559, allocations: 4 kB / 0.5258 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.356, allocations: 5.5 kB / 0.5258 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.356, allocations: 20.44 kB / 0.5258 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.356, allocations: 5.031 kB / 0.5258 GB, free: 30.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003413/0.3564, allocations: 425 kB / 0.5262 GB, free: 30.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3564, allocations: 0 / 0.5262 GB, free: 30.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002789/0.3567, allocations: 48.06 kB / 0.5263 GB, free: 30.67 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001435/0.3581, allocations: 0.6841 MB / 0.527 GB, free: 30.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.3584, allocations: 145.3 kB / 0.5271 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3584, allocations: 3.062 kB / 0.5271 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3586, allocations: 78.61 kB / 0.5272 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.359, allocations: 66.72 kB / 0.5272 GB, free: 30.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008788/0.3599, allocations: 0.7583 MB / 0.528 GB, free: 29.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.3602, allocations: 0.802 MB / 0.5288 GB, free: 29.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.3603, allocations: 34.5 kB / 0.5288 GB, free: 29.09 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3603, allocations: 0 / 0.5288 GB, free: 29.09 MB / 378.7 MB Notification: Performance of Templates: time 0.005815/0.3661, allocations: 4.447 MB / 0.5331 GB, free: 28.5 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches