Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008859/0.000886, allocations: 199.8 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.28/1.28, allocations: 226.5 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007899/0.0007901, allocations: 92.69 kB / 295.4 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3105/0.3105, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002681, allocations: 8.219 kB / 465.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2713, allocations: 62.97 MB / 0.516 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001694/0.2731, allocations: 1.289 MB / 0.5172 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000762/0.2738, allocations: 0.4932 MB / 0.5177 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.2739, allocations: 0 / 0.5177 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.2741, allocations: 23.44 kB / 0.5177 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.2744, allocations: 65.56 kB / 0.5178 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.2747, allocations: 99.45 kB / 0.5179 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.2748, allocations: 54.16 kB / 0.5179 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2749, allocations: 17.08 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.295e-05/0.275, allocations: 16.25 kB / 0.518 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.2751, allocations: 27.83 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.2751, allocations: 0 / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.938e-05/0.2752, allocations: 24.73 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.2752, allocations: 16.95 kB / 0.518 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.2753, allocations: 44.52 kB / 0.5181 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.2754, allocations: 62.94 kB / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2754, allocations: 0 / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2754, allocations: 4 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.2754, allocations: 0 / 0.5181 GB, free: 35.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003594/0.2758, allocations: 369.7 kB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2758, allocations: 12.09 kB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.2758, allocations: 41.67 kB / 0.5185 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.2759, allocations: 7.812 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.276, allocations: 191.6 kB / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.276, allocations: 3.375 kB / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2761, allocations: 8.312 kB / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2762, allocations: 56.16 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2762, allocations: 3 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.2762, allocations: 4 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.2762, allocations: 0 / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.2763, allocations: 27 kB / 0.5188 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.2767, allocations: 289.4 kB / 0.5191 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.2768, allocations: 43.8 kB / 0.5191 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.2769, allocations: 21.28 kB / 0.5192 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.2769, allocations: 3 kB / 0.5192 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.277, allocations: 34.56 kB / 0.5192 GB, free: 34.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.277, allocations: 0 / 0.5192 GB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005166/0.2775, allocations: 171.8 kB / 0.5194 GB, free: 34.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.2775, allocations: 51.41 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2776, allocations: 176.5 kB / 0.5196 GB, free: 34.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.2777, allocations: 29.7 kB / 0.5196 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.2777, allocations: 95.14 kB / 0.5197 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.2777, allocations: 13.77 kB / 0.5197 GB, free: 34.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.2777, allocations: 0 / 0.5197 GB, free: 34.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.2778, allocations: 325 kB / 0.52 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.2779, allocations: 22.77 kB / 0.52 GB, free: 33.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.778e-05/0.2779, allocations: 24.94 kB / 0.5201 GB, free: 33.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.278, allocations: 66 kB / 0.5201 GB, free: 33.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.2781, allocations: 0 / 0.5201 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001664/0.2782, allocations: 92.36 kB / 0.5202 GB, free: 33.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2783, allocations: 5.719 kB / 0.5202 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2783, allocations: 0 / 0.5202 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2783, allocations: 4.25 kB / 0.5202 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.2783, allocations: 14.7 kB / 0.5202 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/0.2784, allocations: 7.938 kB / 0.5203 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.2784, allocations: 8.766 kB / 0.5203 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.2784, allocations: 2.625 kB / 0.5203 GB, free: 33.76 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 (5): * Single equations (assignments): 5 * 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 5.996e-05/0.2785, allocations: 122.6 kB / 0.5204 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.2785, allocations: 6.938 kB / 0.5204 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.2787, allocations: 109.1 kB / 0.5205 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2787, allocations: 6.906 kB / 0.5205 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2788, allocations: 3.938 kB / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2788, allocations: 0 / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.2791, allocations: 364.1 kB / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2791, allocations: 0 / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.2792, allocations: 15.31 kB / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2792, allocations: 3.938 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.2792, allocations: 2.875 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2792, allocations: 0 / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2792, allocations: 0 / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.2794, allocations: 190.7 kB / 0.5211 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.2794, allocations: 91.48 kB / 0.5211 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2794, allocations: 11.03 kB / 0.5212 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.2795, allocations: 7 kB / 0.5212 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2796, allocations: 14.27 kB / 0.5212 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.2796, allocations: 4 kB / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.467e-05/0.2796, allocations: 125.4 kB / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2796, allocations: 0 / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.2799, allocations: 14.31 kB / 0.5213 GB, free: 32.88 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 (5): * Single equations (assignments): 5 * 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.001019/0.2809, allocations: 1.017 MB / 0.5223 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.2811, allocations: 68.88 kB / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2811, allocations: 0 / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.2812, allocations: 29.67 kB / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.2815, allocations: 14.27 kB / 0.5224 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00086/0.2823, allocations: 0.6423 MB / 0.523 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.2825, allocations: 0.6985 MB / 0.5237 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.2825, allocations: 25.19 kB / 0.5237 GB, free: 30.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2825, allocations: 0 / 0.5237 GB, free: 30.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.736/3.018, allocations: 1.774 MB / 0.5255 GB, free: 30.69 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches