Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00096/0.0009599, allocations: 200 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.327/1.327, allocations: 226.5 MB / 243.4 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008924/0.0008925, allocations: 100 kB / 295.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3721/0.3721, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002928, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3239, allocations: 62.96 MB / 0.516 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.001978/0.326, allocations: 1.681 MB / 0.5176 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3273, allocations: 0.9368 MB / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.3275, allocations: 4 kB / 0.5185 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.3279, allocations: 244.8 kB / 0.5188 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.3284, allocations: 227.7 kB / 0.519 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009439/0.3293, allocations: 440 kB / 0.5194 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.3297, allocations: 271.8 kB / 0.5196 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3299, allocations: 67.3 kB / 0.5197 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.33, allocations: 121.7 kB / 0.5198 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.3302, allocations: 170.3 kB / 0.52 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.3303, allocations: 2.906 kB / 0.52 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3304, allocations: 56.5 kB / 0.52 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3305, allocations: 82.92 kB / 0.5201 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.3306, allocations: 131.5 kB / 0.5203 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.3309, allocations: 250.5 kB / 0.5205 GB, free: 34.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3309, allocations: 7 kB / 0.5205 GB, free: 34.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3309, allocations: 0 / 0.5205 GB, free: 34.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3309, allocations: 0 / 0.5205 GB, free: 34.64 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006246/0.3315, allocations: 0.6128 MB / 0.5211 GB, free: 34.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3316, allocations: 8.844 kB / 0.5211 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.3316, allocations: 37.31 kB / 0.5211 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.3317, allocations: 51.59 kB / 0.5212 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.332, allocations: 334.6 kB / 0.5215 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.332, allocations: 14.09 kB / 0.5215 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.332, allocations: 14.34 kB / 0.5215 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3322, allocations: 110.6 kB / 0.5216 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3323, allocations: 0 / 0.5216 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3323, allocations: 6.906 kB / 0.5216 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3323, allocations: 2.844 kB / 0.5216 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3324, allocations: 70.33 kB / 0.5217 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.333, allocations: 0.5084 MB / 0.5222 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3332, allocations: 92.38 kB / 0.5223 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.394e-05/0.3333, allocations: 42.58 kB / 0.5223 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3333, allocations: 3.031 kB / 0.5223 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.3333, allocations: 34.5 kB / 0.5224 GB, free: 33.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3333, allocations: 0 / 0.5224 GB, free: 33.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008103/0.3341, allocations: 416.8 kB / 0.5228 GB, free: 32.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.3342, allocations: 58.28 kB / 0.5228 GB, free: 32.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.3347, allocations: 0.5861 MB / 0.5234 GB, free: 32.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3347, allocations: 32.67 kB / 0.5234 GB, free: 32.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3348, allocations: 216.4 kB / 0.5236 GB, free: 32.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3349, allocations: 59 kB / 0.5237 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.3349, allocations: 6.969 kB / 0.5237 GB, free: 32.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.335, allocations: 350.5 kB / 0.524 GB, free: 32.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3351, allocations: 52.06 kB / 0.5241 GB, free: 32.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.3352, allocations: 50.17 kB / 0.5241 GB, free: 32.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.3354, allocations: 135.8 kB / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3354, allocations: 0 / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002835/0.3357, allocations: 202.2 kB / 0.5245 GB, free: 31.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3357, allocations: 9.938 kB / 0.5245 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3357, allocations: 3.422 kB / 0.5245 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3357, allocations: 0 / 0.5245 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.3359, allocations: 36.53 kB / 0.5245 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3359, allocations: 0 / 0.5245 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.08e-05/0.336, allocations: 19.77 kB / 0.5245 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.336, allocations: 7.031 kB / 0.5245 GB, free: 31.88 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 (17): * Single equations (assignments): 17 * 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.000125/0.3361, allocations: 183.2 kB / 0.5247 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.3362, allocations: 37.81 kB / 0.5247 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.3365, allocations: 248.4 kB / 0.525 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3366, allocations: 2.906 kB / 0.525 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3366, allocations: 4 kB / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3366, allocations: 0 / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.3372, allocations: 0.6389 MB / 0.5256 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3372, allocations: 6.531 kB / 0.5256 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-05/0.3373, allocations: 38.31 kB / 0.5257 GB, free: 31.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3373, allocations: 0 / 0.5257 GB, free: 31.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3373, allocations: 6.781 kB / 0.5257 GB, free: 31.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3373, allocations: 3.938 kB / 0.5257 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3374, allocations: 14.06 kB / 0.5257 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.3377, allocations: 310 kB / 0.526 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.3377, allocations: 129.2 kB / 0.5261 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.3378, allocations: 0 / 0.5261 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.3379, allocations: 18.58 kB / 0.5261 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.3379, allocations: 7.938 kB / 0.5261 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3379, allocations: 5.219 kB / 0.5261 GB, free: 30.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003531/0.3383, allocations: 448.2 kB / 0.5266 GB, free: 30.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3383, allocations: 0 / 0.5266 GB, free: 30.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.3386, allocations: 55.05 kB / 0.5266 GB, free: 30.61 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 (17): * Single equations (assignments): 17 * 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.001684/0.3403, allocations: 1.422 MB / 0.528 GB, free: 29.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.3406, allocations: 136.6 kB / 0.5281 GB, free: 29.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3406, allocations: 6.594 kB / 0.5281 GB, free: 29.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3407, allocations: 80.16 kB / 0.5282 GB, free: 29.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.3412, allocations: 70.17 kB / 0.5283 GB, free: 29.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.3437, allocations: 2.152 MB / 0.5304 GB, free: 28.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.3439, allocations: 0.8161 MB / 0.5312 GB, free: 27.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3441, allocations: 138 kB / 0.5313 GB, free: 27.7 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3441, allocations: 0 / 0.5313 GB, free: 27.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.427/3.771, allocations: 5.881 MB / 0.537 GB, free: 26.96 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches