Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001693/0.001693, allocations: 195.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 226.5 MB / 243.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008254/0.0008254, allocations: 91.47 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4007/0.4007, allocations: 44.83 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3301, allocations: 62.96 MB / 0.516 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.001644/0.3318, allocations: 1.387 MB / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006828/0.3325, allocations: 0.5302 MB / 0.5178 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.3326, allocations: 0 / 0.5178 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.3327, allocations: 21.02 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.3329, allocations: 62.88 kB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.3332, allocations: 121.6 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3333, allocations: 77.73 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.3334, allocations: 20.86 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.3335, allocations: 29.53 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.3336, allocations: 34.56 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3336, allocations: 3 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3337, allocations: 93.5 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.3338, allocations: 25.16 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.3338, allocations: 57.81 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.334, allocations: 115.2 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.334, allocations: 0 / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.334, allocations: 0 / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.334, allocations: 0 / 0.5185 GB, free: 35.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005134/0.3345, allocations: 441.2 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3346, allocations: 8.781 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.3346, allocations: 45.69 kB / 0.5189 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.3346, allocations: 10.91 kB / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3348, allocations: 198 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3348, allocations: 7.25 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3349, allocations: 3.062 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.3351, allocations: 110.6 kB / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3351, allocations: 0 / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3351, allocations: 2.75 kB / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3351, allocations: 0 / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.3354, allocations: 89.36 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.3358, allocations: 318.6 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.336, allocations: 85.11 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3362, allocations: 53.52 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.3362, allocations: 3.031 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3362, allocations: 38.56 kB / 0.5198 GB, free: 34.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3362, allocations: 0 / 0.5198 GB, free: 34.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001555/0.3378, allocations: 480.8 kB / 0.5203 GB, free: 34.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.3378, allocations: 77.11 kB / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.338, allocations: 168.5 kB / 0.5205 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.338, allocations: 29.7 kB / 0.5205 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.338, allocations: 104.6 kB / 0.5206 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3381, allocations: 29.8 kB / 0.5207 GB, free: 33.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.3381, allocations: 4 kB / 0.5207 GB, free: 33.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.413e-05/0.3381, allocations: 321.2 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.3384, allocations: 90.95 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.3387, allocations: 106.2 kB / 0.5212 GB, free: 33.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.3392, allocations: 198.9 kB / 0.5214 GB, free: 33.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3392, allocations: 0 / 0.5214 GB, free: 33.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005768/0.3398, allocations: 236.1 kB / 0.5216 GB, free: 33.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3398, allocations: 5.281 kB / 0.5216 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3398, allocations: 0 / 0.5216 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3399, allocations: 0 / 0.5216 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.3401, allocations: 56.89 kB / 0.5216 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3401, allocations: 3.938 kB / 0.5216 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.3402, allocations: 39.34 kB / 0.5217 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3403, allocations: 6.625 kB / 0.5217 GB, free: 33.36 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 (10): * Single equations (assignments): 10 * 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 7.169e-05/0.3403, allocations: 119.2 kB / 0.5218 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.3404, allocations: 12.73 kB / 0.5218 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006238/0.341, allocations: 241.8 kB / 0.522 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.341, allocations: 2.812 kB / 0.522 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.341, allocations: 7.312 kB / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.341, allocations: 0 / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.3418, allocations: 0.5419 MB / 0.5226 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3418, allocations: 0 / 0.5226 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.342, allocations: 53.53 kB / 0.5226 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.342, allocations: 0 / 0.5226 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.342, allocations: 2.375 kB / 0.5226 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3421, allocations: 4 kB / 0.5226 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3421, allocations: 0 / 0.5226 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.3427, allocations: 331.4 kB / 0.523 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.3427, allocations: 99.12 kB / 0.523 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3427, allocations: 2.625 kB / 0.5231 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.3429, allocations: 42.08 kB / 0.5231 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.343, allocations: 6.828 kB / 0.5231 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.343, allocations: 2.812 kB / 0.5231 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.986e-05/0.3431, allocations: 127.2 kB / 0.5232 GB, free: 32.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3431, allocations: 0 / 0.5232 GB, free: 32.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.3434, allocations: 48.62 kB / 0.5233 GB, free: 32.37 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 (9): * Single equations (assignments): 9 * 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.001677/0.3451, allocations: 1.262 MB / 0.5245 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000637/0.3457, allocations: 197.5 kB / 0.5247 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3458, allocations: 2.938 kB / 0.5247 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.346, allocations: 104.4 kB / 0.5248 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.3464, allocations: 18.88 kB / 0.5248 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.3481, allocations: 0.9309 MB / 0.5257 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3482, allocations: 0.7035 MB / 0.5264 GB, free: 30.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3483, allocations: 38.8 kB / 0.5264 GB, free: 30.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3484, allocations: 0 / 0.5264 GB, free: 30.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.089/3.437, allocations: 2.726 MB / 0.5291 GB, free: 29.89 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches