Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000946/0.000946, 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.248/1.248, allocations: 226.5 MB / 243.4 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008559/0.0008559, allocations: 101.1 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3351/0.3351, allocations: 44.83 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.0002732, allocations: 11.94 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.271, allocations: 62.95 MB / 0.516 GB, free: 37.37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.001545/0.2726, allocations: 1.365 MB / 0.5173 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000707/0.2733, allocations: 0.5272 MB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.2734, allocations: 7 kB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.2736, allocations: 56.11 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.2738, allocations: 74.91 kB / 0.5179 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.2741, allocations: 159.7 kB / 0.5181 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2742, allocations: 78.48 kB / 0.5182 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.2743, allocations: 20.42 kB / 0.5182 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.2744, allocations: 30 kB / 0.5182 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.2745, allocations: 38.23 kB / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2745, allocations: 0 / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.2746, allocations: 37.06 kB / 0.5183 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.2746, allocations: 27.3 kB / 0.5183 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.2747, allocations: 59.25 kB / 0.5184 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.2748, allocations: 86.78 kB / 0.5185 GB, free: 35.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2748, allocations: 0 / 0.5185 GB, free: 35.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2748, allocations: 0 / 0.5185 GB, free: 35.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.2748, allocations: 3.938 kB / 0.5185 GB, free: 35.71 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.000386/0.2752, allocations: 413.6 kB / 0.5188 GB, free: 35.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2752, allocations: 12.59 kB / 0.5189 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.2753, allocations: 33.31 kB / 0.5189 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.2753, allocations: 23.11 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2755, allocations: 195.3 kB / 0.5191 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2755, allocations: 4.375 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2755, allocations: 3.344 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.2757, allocations: 70.91 kB / 0.5192 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2757, allocations: 0 / 0.5192 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.2757, allocations: 11.98 kB / 0.5192 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.2757, allocations: 2.938 kB / 0.5192 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.2758, allocations: 49.12 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.2762, allocations: 333.7 kB / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.2764, allocations: 65.62 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.193e-05/0.2765, allocations: 37.09 kB / 0.5197 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2765, allocations: 3.984 kB / 0.5197 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.125e-05/0.2765, allocations: 30.56 kB / 0.5197 GB, free: 34.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2765, allocations: 0 / 0.5197 GB, free: 34.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00136/0.2779, allocations: 0.4894 MB / 0.5202 GB, free: 34.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.2779, allocations: 54.38 kB / 0.5202 GB, free: 34.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2781, allocations: 191.9 kB / 0.5204 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.2781, allocations: 36.64 kB / 0.5204 GB, free: 34.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.2781, allocations: 105 kB / 0.5205 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.2782, allocations: 33.86 kB / 0.5206 GB, free: 34.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.2782, allocations: 8 kB / 0.5206 GB, free: 34.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.2782, allocations: 324.2 kB / 0.5209 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.2784, allocations: 64.12 kB / 0.5209 GB, free: 33.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2785, allocations: 61.41 kB / 0.521 GB, free: 33.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.2787, allocations: 146.6 kB / 0.5211 GB, free: 33.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2787, allocations: 0 / 0.5211 GB, free: 33.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003237/0.2791, allocations: 181.9 kB / 0.5213 GB, free: 33.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2791, allocations: 8.781 kB / 0.5213 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2791, allocations: 4.062 kB / 0.5213 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2791, allocations: 3.938 kB / 0.5213 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2792, allocations: 32.92 kB / 0.5214 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2792, allocations: 10.52 kB / 0.5214 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.2793, allocations: 12.33 kB / 0.5214 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2793, allocations: 6.938 kB / 0.5214 GB, free: 33.59 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 6.778e-05/0.2794, allocations: 129 kB / 0.5215 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.2794, allocations: 9.938 kB / 0.5215 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.2798, allocations: 213.7 kB / 0.5217 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2798, allocations: 6.75 kB / 0.5217 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2798, allocations: 0 / 0.5217 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2798, allocations: 0 / 0.5217 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.2804, allocations: 0.5183 MB / 0.5222 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2804, allocations: 0 / 0.5222 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.2805, allocations: 35 kB / 0.5223 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2805, allocations: 0 / 0.5223 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2805, allocations: 6.844 kB / 0.5223 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2805, allocations: 0 / 0.5223 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2805, allocations: 2.812 kB / 0.5223 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.2808, allocations: 293.9 kB / 0.5226 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.2809, allocations: 87.25 kB / 0.5226 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2809, allocations: 10.97 kB / 0.5227 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.281, allocations: 12.09 kB / 0.5227 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.2811, allocations: 9.484 kB / 0.5227 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2811, allocations: 2.875 kB / 0.5227 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.592e-05/0.2812, allocations: 155.4 kB / 0.5228 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2812, allocations: 0 / 0.5228 GB, free: 32.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.2814, allocations: 28.88 kB / 0.5229 GB, free: 32.55 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.001205/0.2826, allocations: 1.174 MB / 0.524 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.283, allocations: 143.3 kB / 0.5241 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.283, allocations: 4 kB / 0.5241 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.2831, allocations: 75.19 kB / 0.5242 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2834, allocations: 19.59 kB / 0.5242 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.2847, allocations: 0.979 MB / 0.5252 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.2848, allocations: 0.7173 MB / 0.5259 GB, free: 30.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.2849, allocations: 46.84 kB / 0.5259 GB, free: 30.29 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2849, allocations: 0 / 0.5259 GB, free: 30.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.797/3.082, allocations: 2.454 MB / 0.5283 GB, free: 30.04 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches