Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009972/0.0009972, allocations: 192.6 kB / 16.1 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 226.5 MB / 243.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008016/0.0008017, allocations: 98.64 kB / 295.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2949/0.2949, allocations: 44.83 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002478/0.0002479, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2738, allocations: 62.96 MB / 0.516 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.001441/0.2753, allocations: 1.293 MB / 0.5172 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.276, allocations: 0.4907 MB / 0.5177 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.276, allocations: 0 / 0.5177 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.2762, allocations: 26.56 kB / 0.5177 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.2764, allocations: 62.38 kB / 0.5178 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.2766, allocations: 100.4 kB / 0.5179 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2767, allocations: 54.58 kB / 0.5179 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.2768, allocations: 24.34 kB / 0.518 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.2769, allocations: 15.58 kB / 0.518 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.2769, allocations: 20.84 kB / 0.518 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.2769, allocations: 2.969 kB / 0.518 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.277, allocations: 28.81 kB / 0.518 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.277, allocations: 17.67 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.2771, allocations: 47.84 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.338e-05/0.2772, allocations: 58.95 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2772, allocations: 0 / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2772, allocations: 0 / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.2772, allocations: 2.906 kB / 0.5181 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003128/0.2775, allocations: 374.3 kB / 0.5185 GB, free: 35.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2776, allocations: 11.5 kB / 0.5185 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.207e-05/0.2776, allocations: 34.75 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.2776, allocations: 15.59 kB / 0.5186 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2777, allocations: 202 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.2778, allocations: 4.125 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2778, allocations: 3.031 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.2779, allocations: 51.83 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.2779, allocations: 3.938 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.278, allocations: 0 / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.278, allocations: 2.844 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.581e-05/0.2781, allocations: 29.44 kB / 0.5188 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.2783, allocations: 291 kB / 0.5191 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.2785, allocations: 53.08 kB / 0.5192 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.2786, allocations: 13.64 kB / 0.5192 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2786, allocations: 3.562 kB / 0.5192 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.118e-05/0.2786, allocations: 34.56 kB / 0.5192 GB, free: 34.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2786, allocations: 0 / 0.5192 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004773/0.2791, allocations: 164.6 kB / 0.5194 GB, free: 34.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.2791, allocations: 54 kB / 0.5194 GB, free: 34.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.2793, allocations: 188 kB / 0.5196 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.2793, allocations: 25.7 kB / 0.5196 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.2793, allocations: 98.98 kB / 0.5197 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.2793, allocations: 17.98 kB / 0.5197 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.2793, allocations: 3.938 kB / 0.5198 GB, free: 34.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.2794, allocations: 321 kB / 0.5201 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.2795, allocations: 22.12 kB / 0.5201 GB, free: 33.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.2795, allocations: 32.83 kB / 0.5201 GB, free: 33.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.2796, allocations: 60.05 kB / 0.5202 GB, free: 33.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2797, allocations: 0 / 0.5202 GB, free: 33.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001598/0.2798, allocations: 99.38 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2798, allocations: 5.812 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2798, allocations: 0 / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2799, allocations: 0 / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.2799, allocations: 18.78 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.2799, allocations: 3.938 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.28, allocations: 6.312 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.28, allocations: 2.656 kB / 0.5203 GB, free: 33.7 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.52e-05/0.2801, allocations: 123.2 kB / 0.5204 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.2801, allocations: 6.906 kB / 0.5204 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.2803, allocations: 115.2 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2803, allocations: 0 / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2803, allocations: 7.938 kB / 0.5205 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2803, allocations: 6.844 kB / 0.5205 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.2806, allocations: 366 kB / 0.5209 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2807, allocations: 0 / 0.5209 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.2807, allocations: 17.17 kB / 0.5209 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2807, allocations: 7.938 kB / 0.5209 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.2807, allocations: 2.75 kB / 0.5209 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2807, allocations: 0 / 0.5209 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2807, allocations: 0 / 0.5209 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.2809, allocations: 200.1 kB / 0.5211 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.281, allocations: 88.11 kB / 0.5212 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.281, allocations: 8 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.2811, allocations: 6.797 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.2811, allocations: 2.562 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2811, allocations: 2.75 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.943e-05/0.2812, allocations: 133.3 kB / 0.5213 GB, free: 32.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2812, allocations: 0 / 0.5213 GB, free: 32.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.2814, allocations: 23.16 kB / 0.5214 GB, free: 32.8 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.0009703/0.2824, allocations: 1.013 MB / 0.5224 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.2826, allocations: 63.62 kB / 0.5224 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2826, allocations: 0 / 0.5224 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/0.2826, allocations: 31.12 kB / 0.5224 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.2829, allocations: 21.92 kB / 0.5225 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.2838, allocations: 0.6683 MB / 0.5231 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2839, allocations: 0.6968 MB / 0.5238 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.2839, allocations: 22.5 kB / 0.5238 GB, free: 30.82 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2839, allocations: 0 / 0.5238 GB, free: 30.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.663/2.947, allocations: 1.83 MB / 0.5256 GB, free: 30.62 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches