Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 196 kB / 16.1 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008446/0.0008444, allocations: 101.1 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3296/0.3296, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.00026, allocations: 11.94 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2528, allocations: 62.96 MB / 0.516 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.00159/0.2545, allocations: 1.73 MB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2558, allocations: 1.151 MB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.2558, allocations: 0 / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.256, allocations: 39.25 kB / 0.5188 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.2564, allocations: 182.5 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006783/0.2571, allocations: 402.2 kB / 0.5194 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.2573, allocations: 269 kB / 0.5196 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2574, allocations: 71.27 kB / 0.5197 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.2576, allocations: 118.4 kB / 0.5198 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.2578, allocations: 174.4 kB / 0.52 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.2578, allocations: 5.719 kB / 0.52 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2579, allocations: 55.69 kB / 0.52 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.258, allocations: 131.4 kB / 0.5202 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.453e-05/0.2582, allocations: 181 kB / 0.5203 GB, free: 34.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.2584, allocations: 307 kB / 0.5206 GB, free: 34.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2584, allocations: 0 / 0.5206 GB, free: 34.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.2584, allocations: 2.5 kB / 0.5206 GB, free: 34.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2584, allocations: 0 / 0.5206 GB, free: 34.33 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.0006875/0.2591, allocations: 0.7559 MB / 0.5214 GB, free: 33.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.2591, allocations: 12.88 kB / 0.5214 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.2592, allocations: 41.02 kB / 0.5214 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.2595, allocations: 104.4 kB / 0.5215 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.2599, allocations: 480.8 kB / 0.522 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.2599, allocations: 7.281 kB / 0.522 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.2599, allocations: 9.688 kB / 0.522 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.2602, allocations: 160.1 kB / 0.5221 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2602, allocations: 0 / 0.5221 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2602, allocations: 6.969 kB / 0.5221 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2602, allocations: 0 / 0.5221 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.2605, allocations: 125.6 kB / 0.5223 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.2611, allocations: 0.6995 MB / 0.523 GB, free: 32.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.2613, allocations: 129 kB / 0.5231 GB, free: 32.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.2615, allocations: 67.72 kB / 0.5231 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.2615, allocations: 2.906 kB / 0.5231 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.2615, allocations: 45.06 kB / 0.5232 GB, free: 32.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.2615, allocations: 4 kB / 0.5232 GB, free: 32.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001655/0.2632, allocations: 0.7469 MB / 0.5239 GB, free: 32.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.2632, allocations: 80.17 kB / 0.524 GB, free: 32.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/0.2639, allocations: 0.9141 MB / 0.5249 GB, free: 31.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2639, allocations: 32.7 kB / 0.5249 GB, free: 31.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.264, allocations: 267.8 kB / 0.5252 GB, free: 31.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.2641, allocations: 65.91 kB / 0.5252 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.2641, allocations: 6.688 kB / 0.5252 GB, free: 31.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.441e-05/0.2642, allocations: 374.6 kB / 0.5256 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.2644, allocations: 107.6 kB / 0.5257 GB, free: 31.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.2646, allocations: 128.9 kB / 0.5258 GB, free: 31.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.2651, allocations: 240 kB / 0.5261 GB, free: 31.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2651, allocations: 4 kB / 0.5261 GB, free: 31.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005517/0.2657, allocations: 333.5 kB / 0.5264 GB, free: 30.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.2657, allocations: 6.25 kB / 0.5264 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.2657, allocations: 0 / 0.5264 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2657, allocations: 224 / 0.5264 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.266, allocations: 69.75 kB / 0.5265 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.266, allocations: 7.875 kB / 0.5265 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.2662, allocations: 28.08 kB / 0.5265 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.2662, allocations: 12.62 kB / 0.5265 GB, free: 30.9 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 (20): * Single equations (assignments): 20 * 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.0001417/0.2663, allocations: 210.7 kB / 0.5267 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.2664, allocations: 58.22 kB / 0.5268 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006565/0.2671, allocations: 393.3 kB / 0.5271 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2671, allocations: 2.719 kB / 0.5271 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2671, allocations: 0 / 0.5271 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2671, allocations: 3.375 kB / 0.5271 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.2681, allocations: 0.936 MB / 0.528 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2681, allocations: 0 / 0.528 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.2683, allocations: 68.2 kB / 0.5281 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2684, allocations: 0 / 0.5281 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2684, allocations: 6.969 kB / 0.5281 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2684, allocations: 6.719 kB / 0.5281 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2684, allocations: 0 / 0.5281 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.269, allocations: 0.5033 MB / 0.5286 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2691, allocations: 156.7 kB / 0.5288 GB, free: 29.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.2691, allocations: 4 kB / 0.5288 GB, free: 29.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.2694, allocations: 36.64 kB / 0.5288 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.2694, allocations: 18.69 kB / 0.5288 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.2694, allocations: 9.172 kB / 0.5288 GB, free: 29.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005131/0.27, allocations: 0.6677 MB / 0.5295 GB, free: 29.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.27, allocations: 0 / 0.5295 GB, free: 29.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00031/0.2703, allocations: 63.91 kB / 0.5295 GB, free: 29.33 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 (20): * Single equations (assignments): 20 * 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.001315/0.2716, allocations: 1.345 MB / 0.5309 GB, free: 28.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005124/0.2721, allocations: 261.8 kB / 0.5311 GB, free: 28.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2721, allocations: 0 / 0.5311 GB, free: 28.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.2724, allocations: 141 kB / 0.5312 GB, free: 28.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.2729, allocations: 71.61 kB / 0.5313 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.2766, allocations: 3.493 MB / 0.5347 GB, free: 26.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.2768, allocations: 0.8617 MB / 0.5356 GB, free: 26.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.2771, allocations: 195.2 kB / 0.5358 GB, free: 25.94 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2771, allocations: 0 / 0.5358 GB, free: 25.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.027/3.304, allocations: 7.809 MB / 0.5434 GB, free: 24.95 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches