Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 193.1 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.26/1.26, allocations: 226.5 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.0008082/0.0008083, allocations: 109 kB / 295.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.335/0.335, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002781, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3436, allocations: 62.97 MB / 0.516 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001584/0.3453, allocations: 1.37 MB / 0.5173 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.346, allocations: 0.5353 MB / 0.5178 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.346, allocations: 0 / 0.5178 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.3465, allocations: 446.2 kB / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.3468, allocations: 269.7 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.3471, allocations: 154.5 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3473, allocations: 152.4 kB / 0.5188 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3474, allocations: 24.47 kB / 0.5188 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.3475, allocations: 110.4 kB / 0.5189 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.3477, allocations: 166.3 kB / 0.5191 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3477, allocations: 6.75 kB / 0.5191 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.3478, allocations: 45.38 kB / 0.5191 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.219e-05/0.3479, allocations: 82.72 kB / 0.5192 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.348, allocations: 122 kB / 0.5193 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.3482, allocations: 211.4 kB / 0.5195 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3482, allocations: 0 / 0.5195 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3482, allocations: 2.969 kB / 0.5195 GB, free: 35.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3482, allocations: 0 / 0.5195 GB, free: 35.12 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.0005938/0.3488, allocations: 0.6156 MB / 0.5201 GB, free: 34.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3489, allocations: 8.938 kB / 0.5201 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.3489, allocations: 37.62 kB / 0.5202 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.349, allocations: 42 kB / 0.5202 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.3492, allocations: 303.8 kB / 0.5205 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3492, allocations: 384 / 0.5205 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3493, allocations: 7.375 kB / 0.5205 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3494, allocations: 75.77 kB / 0.5206 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3495, allocations: 4 kB / 0.5206 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.3495, allocations: 2.969 kB / 0.5206 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3495, allocations: 0 / 0.5206 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.3496, allocations: 49.73 kB / 0.5206 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.3502, allocations: 432.2 kB / 0.5211 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3504, allocations: 61.08 kB / 0.5211 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.421e-05/0.3505, allocations: 32.94 kB / 0.5211 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3505, allocations: 2.969 kB / 0.5211 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.3505, allocations: 38.58 kB / 0.5212 GB, free: 33.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3505, allocations: 0 / 0.5212 GB, free: 33.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001431/0.352, allocations: 0.567 MB / 0.5217 GB, free: 33.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.352, allocations: 55.41 kB / 0.5218 GB, free: 33.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/0.3526, allocations: 0.8711 MB / 0.5226 GB, free: 33.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3527, allocations: 25.7 kB / 0.5227 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3528, allocations: 226 kB / 0.5229 GB, free: 32.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3528, allocations: 39.66 kB / 0.5229 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.3528, allocations: 0 / 0.5229 GB, free: 32.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.3529, allocations: 365.2 kB / 0.5233 GB, free: 32.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3531, allocations: 59.44 kB / 0.5233 GB, free: 32.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.3532, allocations: 64.97 kB / 0.5234 GB, free: 32.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.3535, allocations: 148.9 kB / 0.5235 GB, free: 32.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3535, allocations: 0 / 0.5235 GB, free: 32.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003179/0.3538, allocations: 214.5 kB / 0.5237 GB, free: 32.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3538, allocations: 5.188 kB / 0.5237 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3538, allocations: 0 / 0.5237 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3538, allocations: 3.938 kB / 0.5237 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3539, allocations: 33.22 kB / 0.5238 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.354, allocations: 2.625 kB / 0.5238 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.114e-05/0.3541, allocations: 19.5 kB / 0.5238 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3541, allocations: 2.656 kB / 0.5238 GB, free: 32.4 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 (11): * Single equations (assignments): 11 * 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.0001496/0.3542, allocations: 228.1 kB / 0.524 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.3543, allocations: 42.72 kB / 0.5241 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.3547, allocations: 246.6 kB / 0.5243 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3547, allocations: 3.938 kB / 0.5243 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3547, allocations: 0 / 0.5243 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3547, allocations: 2.719 kB / 0.5243 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006506/0.3554, allocations: 0.6156 MB / 0.5249 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3554, allocations: 4 kB / 0.5249 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.3555, allocations: 35.53 kB / 0.5249 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3555, allocations: 0 / 0.5249 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3555, allocations: 7.188 kB / 0.5249 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3555, allocations: 0 / 0.5249 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3555, allocations: 3 kB / 0.5249 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.3559, allocations: 319.9 kB / 0.5253 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.3559, allocations: 119.1 kB / 0.5254 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.356, allocations: 4 kB / 0.5254 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3561, allocations: 14.73 kB / 0.5254 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.3561, allocations: 12.89 kB / 0.5254 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.3561, allocations: 6.781 kB / 0.5254 GB, free: 31.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004783/0.3566, allocations: 0.6575 MB / 0.526 GB, free: 31.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3566, allocations: 0 / 0.526 GB, free: 31.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.3569, allocations: 32.16 kB / 0.5261 GB, free: 31.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001347/0.3582, allocations: 1.208 MB / 0.5273 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.3586, allocations: 141.8 kB / 0.5274 GB, free: 30.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3586, allocations: 0 / 0.5274 GB, free: 30.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3587, allocations: 80.66 kB / 0.5275 GB, free: 30.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3591, allocations: 26.16 kB / 0.5275 GB, free: 30.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.3619, allocations: 2.633 MB / 0.5301 GB, free: 28.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3622, allocations: 0.8398 MB / 0.5309 GB, free: 28.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3623, allocations: 126 kB / 0.531 GB, free: 28.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3623, allocations: 0 / 0.531 GB, free: 28.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.804/3.167, allocations: 7.08 MB / 0.5379 GB, free: 26.65 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches