Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 197.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 226.6 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007861/0.0007861, allocations: 93.12 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3101/0.3101, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002782, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3337, allocations: 62.96 MB / 0.5159 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.001956/0.3357, allocations: 1.664 MB / 0.5175 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3372, allocations: 1.135 MB / 0.5186 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.3373, allocations: 3.031 kB / 0.5186 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.3375, allocations: 32.36 kB / 0.5186 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.3378, allocations: 182.4 kB / 0.5188 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.3386, allocations: 389.2 kB / 0.5192 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.3388, allocations: 246.4 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.339, allocations: 59.88 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.3392, allocations: 112 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.3394, allocations: 154.3 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.3394, allocations: 8.438 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3395, allocations: 50.06 kB / 0.5198 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3397, allocations: 131.8 kB / 0.5199 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3398, allocations: 173.6 kB / 0.5201 GB, free: 34.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.34, allocations: 277.2 kB / 0.5204 GB, free: 34.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.34, allocations: 0 / 0.5204 GB, free: 34.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.34, allocations: 0 / 0.5204 GB, free: 34.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.34, allocations: 2.812 kB / 0.5204 GB, free: 34.18 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007023/0.3407, allocations: 0.6999 MB / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3408, allocations: 9.156 kB / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.341, allocations: 79.45 kB / 0.5211 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.3414, allocations: 449.7 kB / 0.5216 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3415, allocations: 7.281 kB / 0.5216 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.3415, allocations: 17.06 kB / 0.5216 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.3418, allocations: 141.4 kB / 0.5217 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3418, allocations: 0 / 0.5217 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3418, allocations: 0 / 0.5217 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3418, allocations: 2.781 kB / 0.5217 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.342, allocations: 87.39 kB / 0.5218 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007639/0.3428, allocations: 0.6727 MB / 0.5225 GB, free: 32.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.343, allocations: 113.1 kB / 0.5226 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.3431, allocations: 41.53 kB / 0.5226 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.3431, allocations: 10.27 kB / 0.5226 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3431, allocations: 34.5 kB / 0.5226 GB, free: 32.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3431, allocations: 7.938 kB / 0.5226 GB, free: 32.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001256/0.3444, allocations: 0.5468 MB / 0.5232 GB, free: 32.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.3445, allocations: 80.02 kB / 0.5233 GB, free: 32.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/0.3453, allocations: 0.8789 MB / 0.5241 GB, free: 31.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3453, allocations: 25.7 kB / 0.5241 GB, free: 31.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3454, allocations: 257.5 kB / 0.5244 GB, free: 31.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.3455, allocations: 52.19 kB / 0.5244 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.3455, allocations: 0 / 0.5244 GB, free: 31.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3456, allocations: 373.5 kB / 0.5248 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3458, allocations: 64.91 kB / 0.5249 GB, free: 31.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.3459, allocations: 83.17 kB / 0.5249 GB, free: 31.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.3462, allocations: 153.8 kB / 0.5251 GB, free: 31.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3462, allocations: 0 / 0.5251 GB, free: 31.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003789/0.3466, allocations: 243.6 kB / 0.5253 GB, free: 31.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3466, allocations: 5.281 kB / 0.5253 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3466, allocations: 80 / 0.5253 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3467, allocations: 0 / 0.5253 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.3468, allocations: 44.97 kB / 0.5254 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3469, allocations: 3.984 kB / 0.5254 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.347, allocations: 19.52 kB / 0.5254 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.347, allocations: 6.234 kB / 0.5254 GB, free: 31.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001593/0.3472, allocations: 209.5 kB / 0.5256 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.3473, allocations: 59.88 kB / 0.5256 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.3478, allocations: 283.1 kB / 0.5259 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3478, allocations: 2.812 kB / 0.5259 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3478, allocations: 2.938 kB / 0.5259 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3478, allocations: 0 / 0.5259 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008827/0.3487, allocations: 0.7856 MB / 0.5267 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3487, allocations: 0 / 0.5267 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.3489, allocations: 46.44 kB / 0.5267 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3489, allocations: 3.234 kB / 0.5267 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3489, allocations: 7.031 kB / 0.5267 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3489, allocations: 10.88 kB / 0.5268 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3489, allocations: 320 / 0.5268 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.3493, allocations: 420 kB / 0.5272 GB, free: 29.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3494, allocations: 148.8 kB / 0.5273 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.3495, allocations: 5.984 kB / 0.5273 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3497, allocations: 26.55 kB / 0.5273 GB, free: 29.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.3498, allocations: 12.84 kB / 0.5273 GB, free: 29.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3498, allocations: 6.125 kB / 0.5273 GB, free: 29.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005605/0.3503, allocations: 0.6445 MB / 0.528 GB, free: 29.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3504, allocations: 0 / 0.528 GB, free: 29.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.3507, allocations: 55 kB / 0.528 GB, free: 29.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0008657/0.3516, allocations: 389.3 kB / 0.5284 GB, free: 29.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.3519, allocations: 157 kB / 0.5285 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3519, allocations: 4 kB / 0.5286 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.3521, allocations: 87.66 kB / 0.5286 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.3527, allocations: 69.14 kB / 0.5287 GB, free: 29.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3538, allocations: 0.9696 MB / 0.5296 GB, free: 28.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3541, allocations: 0.8567 MB / 0.5305 GB, free: 28.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3542, allocations: 40.53 kB / 0.5305 GB, free: 28.03 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3542, allocations: 0 / 0.5305 GB, free: 28.03 MB / 378.7 MB Notification: Performance of Templates: time 0.008178/0.3624, allocations: 5.459 MB / 0.5359 GB, free: 27.39 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches