Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 195.8 kB / 16.1 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007609/0.0007609, allocations: 91.66 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3571/0.3571, allocations: 44.81 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003052, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3553, allocations: 62.95 MB / 0.516 GB, free: 37.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.001732/0.3571, allocations: 1.593 MB / 0.5175 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3583, allocations: 0.9049 MB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.3584, allocations: 0 / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.3587, allocations: 243.3 kB / 0.5186 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.3591, allocations: 226.7 kB / 0.5188 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008091/0.3599, allocations: 435.1 kB / 0.5193 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.3602, allocations: 244.9 kB / 0.5195 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3603, allocations: 44.91 kB / 0.5195 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3604, allocations: 114.5 kB / 0.5196 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.3606, allocations: 161.5 kB / 0.5198 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.3606, allocations: 5.719 kB / 0.5198 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.3607, allocations: 37.73 kB / 0.5198 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3608, allocations: 78.56 kB / 0.5199 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.3609, allocations: 126.8 kB / 0.52 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.3611, allocations: 218 kB / 0.5202 GB, free: 34.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3611, allocations: 6.781 kB / 0.5203 GB, free: 34.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3611, allocations: 0 / 0.5203 GB, free: 34.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3611, allocations: 0 / 0.5203 GB, free: 34.92 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005498/0.3617, allocations: 0.5961 MB / 0.5208 GB, free: 34.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3617, allocations: 10.88 kB / 0.5208 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.3618, allocations: 37.8 kB / 0.5209 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.3618, allocations: 39.81 kB / 0.5209 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3621, allocations: 334.1 kB / 0.5212 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3621, allocations: 3.094 kB / 0.5212 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.3621, allocations: 10.12 kB / 0.5212 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3623, allocations: 80.11 kB / 0.5213 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.3623, allocations: 7.938 kB / 0.5213 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3623, allocations: 2.531 kB / 0.5213 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.3623, allocations: 0 / 0.5213 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3625, allocations: 62.36 kB / 0.5214 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.3629, allocations: 455.2 kB / 0.5218 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.3631, allocations: 57.09 kB / 0.5219 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.641e-05/0.3631, allocations: 31.47 kB / 0.5219 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.3632, allocations: 0 / 0.5219 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3632, allocations: 32.88 kB / 0.5219 GB, free: 33.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.3632, allocations: 4 kB / 0.5219 GB, free: 33.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002975/0.3635, allocations: 135.9 kB / 0.5221 GB, free: 33.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.3635, allocations: 55.34 kB / 0.5221 GB, free: 33.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.3641, allocations: 0.5961 MB / 0.5227 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.3641, allocations: 25.7 kB / 0.5227 GB, free: 33.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3642, allocations: 203.5 kB / 0.5229 GB, free: 32.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.3642, allocations: 26.69 kB / 0.523 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.3642, allocations: 0 / 0.523 GB, free: 32.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.3643, allocations: 353.4 kB / 0.5233 GB, free: 32.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.3644, allocations: 18.97 kB / 0.5233 GB, free: 32.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.306e-05/0.3644, allocations: 25.69 kB / 0.5233 GB, free: 32.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.706e-05/0.3645, allocations: 51.17 kB / 0.5234 GB, free: 32.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3645, allocations: 0 / 0.5234 GB, free: 32.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001618/0.3647, allocations: 113.8 kB / 0.5235 GB, free: 32.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3647, allocations: 11.02 kB / 0.5235 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3647, allocations: 2.688 kB / 0.5235 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3648, allocations: 7.875 kB / 0.5235 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.3649, allocations: 15.19 kB / 0.5235 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3649, allocations: 0 / 0.5235 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.3649, allocations: 13.16 kB / 0.5235 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.3649, allocations: 0 / 0.5235 GB, free: 32.47 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 (6): * Single equations (assignments): 6 * 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.0001185/0.3651, allocations: 172.9 kB / 0.5237 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.3651, allocations: 39.91 kB / 0.5237 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3654, allocations: 129.9 kB / 0.5239 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3654, allocations: 7.875 kB / 0.5239 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3654, allocations: 4 kB / 0.5239 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3654, allocations: 3.938 kB / 0.5239 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.3656, allocations: 301.2 kB / 0.5242 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3656, allocations: 0 / 0.5242 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.3657, allocations: 12.03 kB / 0.5242 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3657, allocations: 0 / 0.5242 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.3657, allocations: 3.422 kB / 0.5242 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3657, allocations: 6.906 kB / 0.5242 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3657, allocations: 0 / 0.5242 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.3659, allocations: 211.5 kB / 0.5244 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.366, allocations: 130 kB / 0.5245 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.366, allocations: 4 kB / 0.5245 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.3661, allocations: 9.938 kB / 0.5245 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.3661, allocations: 7.359 kB / 0.5245 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3661, allocations: 2.969 kB / 0.5245 GB, free: 31.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003525/0.3665, allocations: 443.2 kB / 0.525 GB, free: 31.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3665, allocations: 0 / 0.525 GB, free: 31.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.3668, allocations: 27.94 kB / 0.525 GB, free: 31.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.001436/0.3682, allocations: 1.245 MB / 0.5262 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.3684, allocations: 53.64 kB / 0.5263 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3684, allocations: 0 / 0.5263 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.112e-05/0.3685, allocations: 30.55 kB / 0.5263 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.369, allocations: 68.14 kB / 0.5264 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.3713, allocations: 1.905 MB / 0.5282 GB, free: 29.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3717, allocations: 0.8086 MB / 0.529 GB, free: 28.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3718, allocations: 111.4 kB / 0.5291 GB, free: 28.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3718, allocations: 0 / 0.5291 GB, free: 28.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.472/3.844, allocations: 5.161 MB / 0.5341 GB, free: 28.19 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches