Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008737/0.0008737, allocations: 199.7 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.255/1.255, allocations: 226.5 MB / 243.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000905/0.0009049, allocations: 95.72 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3388/0.3388, allocations: 44.82 MB / 392.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002751, allocations: 11.98 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3457, allocations: 62.95 MB / 0.516 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002252/0.348, allocations: 1.371 MB / 0.5173 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3491, allocations: 0.5269 MB / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.3492, allocations: 0 / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006424/0.3498, allocations: 447 kB / 0.5182 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.3503, allocations: 267.3 kB / 0.5185 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.3507, allocations: 160.9 kB / 0.5186 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.351, allocations: 155.6 kB / 0.5188 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.3512, allocations: 20.92 kB / 0.5188 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.3513, allocations: 104.7 kB / 0.5189 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.3516, allocations: 167.8 kB / 0.5191 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.3516, allocations: 2.75 kB / 0.5191 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3517, allocations: 42.78 kB / 0.5191 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3519, allocations: 84.12 kB / 0.5192 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.94e-05/0.352, allocations: 120.3 kB / 0.5193 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.3522, allocations: 209.1 kB / 0.5195 GB, free: 35.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3522, allocations: 0 / 0.5195 GB, free: 35.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3522, allocations: 0 / 0.5195 GB, free: 35.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3522, allocations: 4 kB / 0.5195 GB, free: 35.38 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006565/0.3529, allocations: 0.6024 MB / 0.5201 GB, free: 34.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.353, allocations: 8.688 kB / 0.5201 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.353, allocations: 38.08 kB / 0.5201 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.3531, allocations: 40.72 kB / 0.5202 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.3533, allocations: 310.1 kB / 0.5205 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3533, allocations: 384 / 0.5205 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.3534, allocations: 10.09 kB / 0.5205 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3535, allocations: 68.38 kB / 0.5206 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3536, allocations: 0 / 0.5206 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3536, allocations: 3.375 kB / 0.5206 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.3536, allocations: 3.281 kB / 0.5206 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.3537, allocations: 39.44 kB / 0.5206 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.3542, allocations: 408.9 kB / 0.521 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3543, allocations: 53.62 kB / 0.521 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.3544, allocations: 21.16 kB / 0.5211 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3544, allocations: 3 kB / 0.5211 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.3544, allocations: 34.56 kB / 0.5211 GB, free: 34.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3544, allocations: 0 / 0.5211 GB, free: 34.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009499/0.3554, allocations: 353 kB / 0.5214 GB, free: 33.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.3554, allocations: 58.34 kB / 0.5215 GB, free: 33.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.3561, allocations: 0.8757 MB / 0.5223 GB, free: 33.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3562, allocations: 33.64 kB / 0.5224 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3563, allocations: 225.6 kB / 0.5226 GB, free: 33.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.3563, allocations: 26.34 kB / 0.5226 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.3564, allocations: 3.938 kB / 0.5226 GB, free: 33.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.3564, allocations: 365.7 kB / 0.523 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.3565, allocations: 32.47 kB / 0.523 GB, free: 32.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.3566, allocations: 40.06 kB / 0.523 GB, free: 32.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3568, allocations: 83.12 kB / 0.5231 GB, free: 32.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.3568, allocations: 0 / 0.5231 GB, free: 32.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002222/0.357, allocations: 155.4 kB / 0.5233 GB, free: 32.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.357, allocations: 5.719 kB / 0.5233 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.357, allocations: 0 / 0.5233 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3571, allocations: 0 / 0.5233 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3572, allocations: 23.17 kB / 0.5233 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3572, allocations: 0 / 0.5233 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.3572, allocations: 9 kB / 0.5233 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.3573, allocations: 6.969 kB / 0.5233 GB, free: 32.76 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 (8): * Single equations (assignments): 8 * 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.0001568/0.3574, allocations: 217.7 kB / 0.5235 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.3575, allocations: 44.47 kB / 0.5236 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.3578, allocations: 188.2 kB / 0.5237 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3578, allocations: 3.938 kB / 0.5237 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3578, allocations: 0 / 0.5237 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3578, allocations: 3.469 kB / 0.5237 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.3584, allocations: 0.5354 MB / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3584, allocations: 0 / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.3585, allocations: 24.2 kB / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3585, allocations: 0 / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3585, allocations: 0 / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3585, allocations: 2.656 kB / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3585, allocations: 0 / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.3588, allocations: 259 kB / 0.5245 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.3588, allocations: 119.5 kB / 0.5247 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.3589, allocations: 2.719 kB / 0.5247 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.3589, allocations: 5.906 kB / 0.5247 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.359, allocations: 17.92 kB / 0.5247 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.359, allocations: 6.625 kB / 0.5247 GB, free: 31.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000496/0.3595, allocations: 0.6593 MB / 0.5253 GB, free: 31.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3595, allocations: 3.938 kB / 0.5253 GB, free: 31.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000244/0.3598, allocations: 34.42 kB / 0.5254 GB, free: 31.52 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 (8): * Single equations (assignments): 8 * 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.001281/0.3611, allocations: 1.133 MB / 0.5265 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.3613, allocations: 87.84 kB / 0.5266 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3613, allocations: 0 / 0.5266 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.132e-05/0.3614, allocations: 46.02 kB / 0.5266 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3618, allocations: 29.59 kB / 0.5266 GB, free: 30.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3645, allocations: 2.498 MB / 0.5291 GB, free: 29.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3647, allocations: 0.8302 MB / 0.5299 GB, free: 28.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.3649, allocations: 122.1 kB / 0.53 GB, free: 28.72 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3649, allocations: 11.88 kB / 0.53 GB, free: 28.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.809/3.174, allocations: 6.905 MB / 0.5367 GB, free: 27.21 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches