Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009224/0.0009225, allocations: 198.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.203/1.203, allocations: 226.5 MB / 243.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007733/0.0007732, allocations: 104.3 kB / 295.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2822/0.2822, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000241/0.000241, allocations: 12 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2686, allocations: 62.97 MB / 0.516 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001508/0.2701, allocations: 1.307 MB / 0.5172 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006658/0.2708, allocations: 493.3 kB / 0.5177 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.2709, allocations: 6.75 kB / 0.5177 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.2711, allocations: 78.48 kB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.2713, allocations: 83.66 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.2716, allocations: 76.73 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2717, allocations: 64.8 kB / 0.518 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.2718, allocations: 20.22 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.2718, allocations: 30.91 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.2719, allocations: 40.09 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2719, allocations: 2.969 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.949e-05/0.272, allocations: 41.97 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.2721, allocations: 14.05 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.2721, allocations: 53.39 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2722, allocations: 73.06 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2722, allocations: 0 / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2722, allocations: 0 / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2722, allocations: 6.875 kB / 0.5183 GB, free: 35.61 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.0003521/0.2726, allocations: 397.3 kB / 0.5187 GB, free: 35.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2726, allocations: 8.281 kB / 0.5187 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.2727, allocations: 36.62 kB / 0.5187 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.2727, allocations: 11.44 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2728, allocations: 198.3 kB / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-06/0.2729, allocations: 3.375 kB / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2729, allocations: 15.19 kB / 0.5189 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.273, allocations: 52.77 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.273, allocations: 4 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.2731, allocations: 3 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2731, allocations: 0 / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.2732, allocations: 31.41 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.2735, allocations: 287 kB / 0.5193 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.2736, allocations: 51.75 kB / 0.5193 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.2736, allocations: 21.08 kB / 0.5193 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2736, allocations: 2.875 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.2737, allocations: 30.56 kB / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2737, allocations: 0 / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007641/0.2744, allocations: 259.2 kB / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.2745, allocations: 51.41 kB / 0.5197 GB, free: 34.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2746, allocations: 205.3 kB / 0.5199 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.2746, allocations: 25.7 kB / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.2747, allocations: 105.3 kB / 0.52 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.2747, allocations: 30.02 kB / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.2747, allocations: 4 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.2748, allocations: 321.1 kB / 0.5203 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.2748, allocations: 24.11 kB / 0.5204 GB, free: 33.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.2749, allocations: 25.3 kB / 0.5204 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.275, allocations: 76.69 kB / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.275, allocations: 0 / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001711/0.2752, allocations: 110.7 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2752, allocations: 10.03 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2752, allocations: 4 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2753, allocations: 0 / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.2754, allocations: 24.81 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2754, allocations: 7.359 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.2754, allocations: 10.62 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.2754, allocations: 0 / 0.5206 GB, free: 33.62 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 5.875e-05/0.2755, allocations: 127 kB / 0.5207 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.2755, allocations: 9.906 kB / 0.5207 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.2758, allocations: 126.1 kB / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2758, allocations: 10.25 kB / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2758, allocations: 3.938 kB / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2758, allocations: 4 kB / 0.5209 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.2762, allocations: 405.8 kB / 0.5213 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2762, allocations: 0 / 0.5213 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.2762, allocations: 27.23 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2763, allocations: 2.906 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2763, allocations: 4 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2763, allocations: 3.234 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2763, allocations: 2.75 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.2765, allocations: 207.9 kB / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.2765, allocations: 95.22 kB / 0.5216 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.2765, allocations: 2.812 kB / 0.5216 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.2766, allocations: 7.031 kB / 0.5216 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.2766, allocations: 9.266 kB / 0.5216 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.2766, allocations: 0 / 0.5216 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.462e-05/0.2767, allocations: 161.8 kB / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2767, allocations: 0 / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.277, allocations: 18.19 kB / 0.5218 GB, free: 32.68 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.001054/0.278, allocations: 1.097 MB / 0.5229 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.2782, allocations: 76.42 kB / 0.5229 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2782, allocations: 0 / 0.5229 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.566e-05/0.2783, allocations: 36.81 kB / 0.523 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2786, allocations: 15.41 kB / 0.523 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.2795, allocations: 0.7769 MB / 0.5237 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.2797, allocations: 0.7045 MB / 0.5244 GB, free: 30.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.2797, allocations: 32.69 kB / 0.5245 GB, free: 30.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2797, allocations: 4 kB / 0.5245 GB, free: 30.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.809/3.089, allocations: 2.123 MB / 0.5265 GB, free: 30.34 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches