Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009985/0.0009985, allocations: 193.8 kB / 16.09 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.327/1.327, allocations: 226.5 MB / 243.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007475/0.0007473, allocations: 114.3 kB / 295.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.303/0.303, allocations: 44.83 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3404, allocations: 62.97 MB / 0.516 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.001927/0.3423, allocations: 1.675 MB / 0.5176 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3439, allocations: 1.231 MB / 0.5188 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.344, allocations: 6.781 kB / 0.5188 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.3443, allocations: 43.03 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.3446, allocations: 179.8 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3457, allocations: 0.5446 MB / 0.5196 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.346, allocations: 269.2 kB / 0.5198 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.3462, allocations: 65.45 kB / 0.5199 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.3464, allocations: 120 kB / 0.52 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.3466, allocations: 163 kB / 0.5201 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.3466, allocations: 5.219 kB / 0.5201 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.3468, allocations: 47.59 kB / 0.5202 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3469, allocations: 135.9 kB / 0.5203 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.347, allocations: 176.1 kB / 0.5205 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.3473, allocations: 307.8 kB / 0.5208 GB, free: 34.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3473, allocations: 0 / 0.5208 GB, free: 34.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3473, allocations: 0 / 0.5208 GB, free: 34.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3473, allocations: 2.781 kB / 0.5208 GB, free: 34.2 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.0008356/0.3482, allocations: 0.7271 MB / 0.5215 GB, free: 33.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3482, allocations: 11.28 kB / 0.5215 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.3483, allocations: 41.14 kB / 0.5215 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/0.3485, allocations: 85.69 kB / 0.5216 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.349, allocations: 476 kB / 0.5221 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.349, allocations: 9.75 kB / 0.5221 GB, free: 33.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.349, allocations: 13.61 kB / 0.5221 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.3493, allocations: 166.1 kB / 0.5223 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3493, allocations: 6.625 kB / 0.5223 GB, free: 33.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3493, allocations: 4 kB / 0.5223 GB, free: 33.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3494, allocations: 2.688 kB / 0.5223 GB, free: 33.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.3496, allocations: 97.33 kB / 0.5224 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007887/0.3504, allocations: 0.7157 MB / 0.5231 GB, free: 32.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3506, allocations: 119.5 kB / 0.5232 GB, free: 32.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.3507, allocations: 48.89 kB / 0.5232 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.3507, allocations: 10.11 kB / 0.5232 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.3507, allocations: 30.56 kB / 0.5233 GB, free: 32.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3507, allocations: 7.031 kB / 0.5233 GB, free: 32.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001301/0.352, allocations: 0.5739 MB / 0.5238 GB, free: 32.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.3521, allocations: 84.08 kB / 0.5239 GB, free: 32.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008071/0.3529, allocations: 0.9296 MB / 0.5248 GB, free: 31.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.353, allocations: 32.17 kB / 0.5249 GB, free: 31.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.3531, allocations: 269.7 kB / 0.5251 GB, free: 31.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.3532, allocations: 52 kB / 0.5252 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.3532, allocations: 0 / 0.5252 GB, free: 31.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3533, allocations: 379 kB / 0.5255 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.3535, allocations: 74.31 kB / 0.5256 GB, free: 31.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.3537, allocations: 92.3 kB / 0.5257 GB, free: 31.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.3541, allocations: 176.4 kB / 0.5258 GB, free: 31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3541, allocations: 0 / 0.5258 GB, free: 31 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004563/0.3545, allocations: 261.2 kB / 0.5261 GB, free: 30.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3546, allocations: 5.969 kB / 0.5261 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3546, allocations: 0 / 0.5261 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3546, allocations: 6.906 kB / 0.5261 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.3548, allocations: 45.89 kB / 0.5262 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.3548, allocations: 320 / 0.5262 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.355, allocations: 19.03 kB / 0.5262 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.355, allocations: 5.906 kB / 0.5262 GB, free: 30.88 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.0002003/0.3552, allocations: 216.5 kB / 0.5264 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.369e-05/0.3553, allocations: 64.89 kB / 0.5264 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005976/0.3559, allocations: 312.9 kB / 0.5267 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3559, allocations: 3.938 kB / 0.5267 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3559, allocations: 2.875 kB / 0.5268 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3559, allocations: 0 / 0.5268 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.3569, allocations: 0.8344 MB / 0.5276 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3569, allocations: 3.422 kB / 0.5276 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.3571, allocations: 42.02 kB / 0.5276 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.3571, allocations: 3.984 kB / 0.5276 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3571, allocations: 6.938 kB / 0.5276 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.3571, allocations: 10.84 kB / 0.5276 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3572, allocations: 0 / 0.5276 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.3576, allocations: 426.9 kB / 0.528 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3577, allocations: 156.7 kB / 0.5282 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.3578, allocations: 4 kB / 0.5282 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.358, allocations: 22.31 kB / 0.5282 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.358, allocations: 18.95 kB / 0.5282 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3581, allocations: 2.719 kB / 0.5282 GB, free: 29.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005789/0.3586, allocations: 0.6779 MB / 0.5289 GB, free: 29.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3586, allocations: 0 / 0.5289 GB, free: 29.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.359, allocations: 55.19 kB / 0.5289 GB, free: 29.37 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.001367/0.3603, allocations: 1.276 MB / 0.5302 GB, free: 28.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003994/0.3608, allocations: 187.5 kB / 0.5304 GB, free: 28.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3608, allocations: 3.938 kB / 0.5304 GB, free: 28.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.361, allocations: 91.91 kB / 0.5305 GB, free: 28.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.3616, allocations: 65.77 kB / 0.5305 GB, free: 28.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.3656, allocations: 3.388 MB / 0.5338 GB, free: 26.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3659, allocations: 0.8822 MB / 0.5347 GB, free: 26.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.3662, allocations: 179.3 kB / 0.5349 GB, free: 26.08 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3662, allocations: 0 / 0.5349 GB, free: 26.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.974/3.341, allocations: 7.711 MB / 0.5424 GB, free: 25.2 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches