Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 195.5 kB / 16.09 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.5 MB / 243.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000738/0.0007382, allocations: 99.62 kB / 295.5 MB, free: 6.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3248/0.3248, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 8 kB / 465.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2784, allocations: 62.95 MB / 0.516 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.001442/0.2799, allocations: 1.312 MB / 0.5172 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006253/0.2805, allocations: 0.4972 MB / 0.5177 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.2806, allocations: 7.875 kB / 0.5177 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.2807, allocations: 75.58 kB / 0.5178 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.2809, allocations: 83.2 kB / 0.5179 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.2811, allocations: 102 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.2812, allocations: 72.38 kB / 0.518 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.2813, allocations: 20.77 kB / 0.5181 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.2814, allocations: 28.83 kB / 0.5181 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.2814, allocations: 44.94 kB / 0.5181 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.2815, allocations: 0 / 0.5181 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.446e-05/0.2815, allocations: 41.38 kB / 0.5182 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.2816, allocations: 23.33 kB / 0.5182 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.2816, allocations: 62.28 kB / 0.5183 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.533e-05/0.2817, allocations: 75.34 kB / 0.5183 GB, free: 35.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2817, allocations: 0 / 0.5183 GB, free: 35.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2817, allocations: 0 / 0.5183 GB, free: 35.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.2817, allocations: 0 / 0.5183 GB, free: 35.4 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.0002908/0.282, allocations: 395.6 kB / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.2821, allocations: 11.94 kB / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.052e-05/0.2821, allocations: 34.69 kB / 0.5188 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.2822, allocations: 14.84 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2823, allocations: 203.8 kB / 0.519 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.2823, allocations: 3.219 kB / 0.519 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2823, allocations: 7.281 kB / 0.519 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.2824, allocations: 54.73 kB / 0.519 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.2825, allocations: 3.984 kB / 0.519 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.2825, allocations: 4 kB / 0.519 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2825, allocations: 2.938 kB / 0.519 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.665e-05/0.2826, allocations: 36.17 kB / 0.5191 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.2829, allocations: 307 kB / 0.5194 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.122e-05/0.283, allocations: 44.5 kB / 0.5194 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.283, allocations: 24.88 kB / 0.5194 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.283, allocations: 2.812 kB / 0.5194 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.2831, allocations: 30.56 kB / 0.5195 GB, free: 34.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2831, allocations: 0 / 0.5195 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007602/0.2838, allocations: 275.9 kB / 0.5197 GB, free: 34.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.584e-05/0.2839, allocations: 51.41 kB / 0.5198 GB, free: 34.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.284, allocations: 217.8 kB / 0.52 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.284, allocations: 25.7 kB / 0.52 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.2841, allocations: 109.2 kB / 0.5201 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.2841, allocations: 29.8 kB / 0.5201 GB, free: 33.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2841, allocations: 0 / 0.5201 GB, free: 33.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.2841, allocations: 321.1 kB / 0.5204 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.2842, allocations: 38.83 kB / 0.5205 GB, free: 33.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.2843, allocations: 35.47 kB / 0.5205 GB, free: 33.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.2845, allocations: 82.17 kB / 0.5206 GB, free: 33.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2845, allocations: 0 / 0.5206 GB, free: 33.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001942/0.2847, allocations: 120.3 kB / 0.5207 GB, free: 33.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.2847, allocations: 5.469 kB / 0.5207 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2847, allocations: 0 / 0.5207 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.2847, allocations: 6.375 kB / 0.5207 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.2848, allocations: 21.52 kB / 0.5207 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.2848, allocations: 7.875 kB / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.2849, allocations: 13.05 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.2849, allocations: 2.781 kB / 0.5208 GB, free: 33.39 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.113e-05/0.2849, allocations: 125 kB / 0.5209 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.285, allocations: 13.66 kB / 0.5209 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.2852, allocations: 145.2 kB / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2852, allocations: 0 / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2852, allocations: 3.938 kB / 0.521 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2852, allocations: 0 / 0.521 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.2857, allocations: 426.7 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2857, allocations: 3 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.2857, allocations: 22.05 kB / 0.5215 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2858, allocations: 0 / 0.5215 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2858, allocations: 6.75 kB / 0.5215 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2858, allocations: 0 / 0.5215 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2858, allocations: 4.5 kB / 0.5215 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.286, allocations: 228.8 kB / 0.5217 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.286, allocations: 91.61 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.2861, allocations: 6.969 kB / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.2861, allocations: 13.09 kB / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.2862, allocations: 10.09 kB / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.2862, allocations: 2.781 kB / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.033e-05/0.2863, allocations: 157 kB / 0.522 GB, free: 32.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2863, allocations: 0 / 0.522 GB, free: 32.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.2865, allocations: 18.41 kB / 0.522 GB, free: 32.44 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.001061/0.2876, allocations: 1.11 MB / 0.5231 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.2878, allocations: 76.44 kB / 0.5231 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2878, allocations: 4 kB / 0.5231 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.2879, allocations: 43.11 kB / 0.5232 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.2882, allocations: 16.86 kB / 0.5232 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009608/0.2891, allocations: 0.8341 MB / 0.524 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.2893, allocations: 0.7128 MB / 0.5247 GB, free: 30.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.2893, allocations: 40.09 kB / 0.5247 GB, free: 30.3 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2893, allocations: 0 / 0.5247 GB, free: 30.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.813/3.102, allocations: 2.229 MB / 0.5269 GB, free: 30.05 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches