Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009237/0.0009237, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008321/0.0008321, allocations: 91.72 kB / 295.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2987/0.2987, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002466/0.0002467, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.276, allocations: 62.96 MB / 0.516 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001473/0.2775, allocations: 1.313 MB / 0.5172 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006306/0.2781, allocations: 497.4 kB / 0.5177 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.2782, allocations: 3.938 kB / 0.5177 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.2785, allocations: 127 kB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.2787, allocations: 110.5 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.2788, allocations: 73.64 kB / 0.518 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.279, allocations: 82.02 kB / 0.5181 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.2791, allocations: 23.97 kB / 0.5181 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.2791, allocations: 41.91 kB / 0.5182 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.2792, allocations: 65.97 kB / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2793, allocations: 0 / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.87e-05/0.2793, allocations: 33.42 kB / 0.5183 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.2794, allocations: 28.81 kB / 0.5183 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.2794, allocations: 59 kB / 0.5183 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.2795, allocations: 88.56 kB / 0.5184 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2795, allocations: 0 / 0.5184 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2796, allocations: 6.969 kB / 0.5184 GB, free: 35.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.2796, allocations: 0 / 0.5184 GB, free: 35.72 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.0003674/0.2799, allocations: 415.9 kB / 0.5188 GB, free: 35.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.28, allocations: 8.594 kB / 0.5188 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.28, allocations: 41.5 kB / 0.5189 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.2801, allocations: 14.56 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.2802, allocations: 208.9 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.2802, allocations: 384 / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.2803, allocations: 7.188 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.2804, allocations: 67.16 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2804, allocations: 3.906 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2804, allocations: 0 / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2804, allocations: 0 / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.578e-05/0.2805, allocations: 31.02 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.2808, allocations: 303.4 kB / 0.5195 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.064e-05/0.2809, allocations: 46.08 kB / 0.5195 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.281, allocations: 16.75 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.281, allocations: 0 / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.281, allocations: 41.31 kB / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.281, allocations: 0 / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000788/0.2818, allocations: 261.1 kB / 0.5198 GB, free: 34.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.2818, allocations: 57.42 kB / 0.5199 GB, free: 34.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.282, allocations: 277.7 kB / 0.5201 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.2821, allocations: 33.7 kB / 0.5202 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.2821, allocations: 111.8 kB / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2821, allocations: 34.16 kB / 0.5203 GB, free: 34.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-06/0.2821, allocations: 0 / 0.5203 GB, free: 34.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.2822, allocations: 331.4 kB / 0.5206 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.2823, allocations: 24.02 kB / 0.5207 GB, free: 33.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.2823, allocations: 28.78 kB / 0.5207 GB, free: 33.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.2825, allocations: 65.33 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2825, allocations: 0 / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001774/0.2827, allocations: 123 kB / 0.5209 GB, free: 33.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2827, allocations: 5.875 kB / 0.5209 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2827, allocations: 0 / 0.5209 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2827, allocations: 7.875 kB / 0.5209 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.2828, allocations: 14.78 kB / 0.5209 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2828, allocations: 6.812 kB / 0.5209 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.2829, allocations: 10.39 kB / 0.5209 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2829, allocations: 6.812 kB / 0.5209 GB, free: 33.67 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 (8): * Single equations (assignments): 8 * 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.873e-05/0.283, allocations: 134.7 kB / 0.521 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.283, allocations: 13.56 kB / 0.5211 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.2832, allocations: 127.8 kB / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2832, allocations: 7.031 kB / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2833, allocations: 3.938 kB / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2833, allocations: 0 / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.2836, allocations: 415.3 kB / 0.5216 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2837, allocations: 4.031 kB / 0.5216 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.2837, allocations: 22.09 kB / 0.5216 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2837, allocations: 3 kB / 0.5216 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.2837, allocations: 7.938 kB / 0.5216 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2838, allocations: 0 / 0.5216 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2838, allocations: 2.938 kB / 0.5216 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.284, allocations: 223 kB / 0.5218 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.284, allocations: 95.02 kB / 0.5219 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.284, allocations: 4 kB / 0.5219 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.2841, allocations: 8.953 kB / 0.5219 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.2841, allocations: 5.219 kB / 0.5219 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.2841, allocations: 6.656 kB / 0.5219 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.2843, allocations: 212.7 kB / 0.5222 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2843, allocations: 0 / 0.5222 GB, free: 32.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.2845, allocations: 22.19 kB / 0.5222 GB, free: 32.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001096/0.2856, allocations: 1.102 MB / 0.5232 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.2858, allocations: 66.91 kB / 0.5233 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2858, allocations: 3.938 kB / 0.5233 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.2859, allocations: 37.42 kB / 0.5234 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.2862, allocations: 19.89 kB / 0.5234 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2873, allocations: 0.9543 MB / 0.5243 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2875, allocations: 0.7207 MB / 0.525 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.2875, allocations: 39.84 kB / 0.525 GB, free: 30.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2875, allocations: 0 / 0.525 GB, free: 30.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.747/3.035, allocations: 2.464 MB / 0.5275 GB, free: 30.23 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches