Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000988/0.000988, allocations: 200.4 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.25/1.25, allocations: 226.5 MB / 243.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007764/0.0007764, allocations: 100.3 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2821/0.2821, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 12 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2678, allocations: 62.96 MB / 0.516 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.001506/0.2694, allocations: 1.367 MB / 0.5173 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007108/0.2701, allocations: 0.5279 MB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.2701, allocations: 0 / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.2704, allocations: 58.62 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.2706, allocations: 81.48 kB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.2709, allocations: 165.3 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.271, allocations: 71.72 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2712, allocations: 19.28 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.2712, allocations: 35.11 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.799e-05/0.2713, allocations: 43.59 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.2713, allocations: 3.062 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.039e-05/0.2714, allocations: 42.58 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.2714, allocations: 20.34 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.2715, allocations: 54.27 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2716, allocations: 91.23 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2716, allocations: 3.938 kB / 0.5185 GB, free: 35.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2716, allocations: 2.938 kB / 0.5185 GB, free: 35.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2717, allocations: 0 / 0.5185 GB, free: 35.53 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.0003886/0.272, allocations: 409.7 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2721, allocations: 8.781 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.2721, allocations: 42.69 kB / 0.5189 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.2722, allocations: 14.5 kB / 0.5189 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2723, allocations: 203.4 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.2723, allocations: 3.281 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2723, allocations: 7.188 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.2725, allocations: 74.16 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2725, allocations: 0 / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2725, allocations: 0 / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2725, allocations: 6.844 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.2727, allocations: 52.27 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.273, allocations: 336.6 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.2732, allocations: 61.8 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.469e-05/0.2733, allocations: 34.98 kB / 0.5197 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.2733, allocations: 3 kB / 0.5197 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.2734, allocations: 34.56 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2734, allocations: 0 / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001405/0.2748, allocations: 0.4902 MB / 0.5202 GB, free: 34.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.2748, allocations: 51.41 kB / 0.5202 GB, free: 34.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2749, allocations: 205.7 kB / 0.5204 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.275, allocations: 29.7 kB / 0.5205 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.275, allocations: 112.8 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.275, allocations: 40.66 kB / 0.5206 GB, free: 33.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.275, allocations: 0 / 0.5206 GB, free: 33.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.2751, allocations: 323.9 kB / 0.5209 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2752, allocations: 64.75 kB / 0.521 GB, free: 33.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.2753, allocations: 60.52 kB / 0.521 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.2756, allocations: 149 kB / 0.5212 GB, free: 33.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2756, allocations: 0 / 0.5212 GB, free: 33.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002929/0.2759, allocations: 180.5 kB / 0.5213 GB, free: 33.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2759, allocations: 3.156 kB / 0.5213 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2759, allocations: 2.594 kB / 0.5213 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.276, allocations: 11.81 kB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2761, allocations: 30.36 kB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2761, allocations: 2.812 kB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.2761, allocations: 16.2 kB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2762, allocations: 2.875 kB / 0.5214 GB, free: 33.41 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.515e-05/0.2762, allocations: 128.8 kB / 0.5215 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.2763, allocations: 17.59 kB / 0.5215 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.2766, allocations: 213.5 kB / 0.5218 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2766, allocations: 6.594 kB / 0.5218 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2766, allocations: 0 / 0.5218 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2767, allocations: 0 / 0.5218 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.2772, allocations: 0.5137 MB / 0.5223 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2772, allocations: 0 / 0.5223 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-05/0.2773, allocations: 31.53 kB / 0.5223 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2773, allocations: 0 / 0.5223 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2773, allocations: 6.594 kB / 0.5223 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2773, allocations: 0 / 0.5223 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2773, allocations: 6.953 kB / 0.5223 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.2777, allocations: 301.1 kB / 0.5226 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.2777, allocations: 87.98 kB / 0.5227 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2777, allocations: 9.797 kB / 0.5227 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2778, allocations: 10.38 kB / 0.5227 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.2779, allocations: 11.81 kB / 0.5227 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2779, allocations: 7.281 kB / 0.5227 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.278, allocations: 148.7 kB / 0.5229 GB, free: 32.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.278, allocations: 4 kB / 0.5229 GB, free: 32.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.2782, allocations: 25.25 kB / 0.5229 GB, free: 32.37 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.001215/0.2795, allocations: 1.168 MB / 0.524 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.2798, allocations: 146.5 kB / 0.5242 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2798, allocations: 0 / 0.5242 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.2799, allocations: 76.59 kB / 0.5242 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.0003134/0.2802, allocations: 15.59 kB / 0.5242 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2815, allocations: 1.009 MB / 0.5252 GB, free: 30.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.2816, allocations: 0.7177 MB / 0.5259 GB, free: 30.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.2817, allocations: 38.45 kB / 0.526 GB, free: 30.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2817, allocations: 0 / 0.526 GB, free: 30.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.713/2.994, allocations: 2.492 MB / 0.5284 GB, free: 29.84 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches