Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_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.0009262/0.0009262, allocations: 198.3 kB / 16.1 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.23/1.23, allocations: 226.5 MB / 243.4 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000709/0.000709, allocations: 92.34 kB / 295.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3227/0.3227, allocations: 44.81 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002874, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3273, allocations: 62.96 MB / 0.516 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.0016/0.329, allocations: 1.31 MB / 0.5172 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000701/0.3297, allocations: 0.4974 MB / 0.5177 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.3298, allocations: 0 / 0.5177 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.33, allocations: 74.75 kB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.3302, allocations: 89.39 kB / 0.5179 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.3305, allocations: 92.23 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.3306, allocations: 71.09 kB / 0.518 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.3307, allocations: 25.09 kB / 0.5181 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.3308, allocations: 25.14 kB / 0.5181 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.3308, allocations: 43.09 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.3309, allocations: 2.906 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.3309, allocations: 31.78 kB / 0.5182 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.331, allocations: 23.05 kB / 0.5182 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.331, allocations: 55.47 kB / 0.5182 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.3312, allocations: 69.56 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3312, allocations: 0 / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3312, allocations: 4 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.3312, allocations: 0 / 0.5183 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.0003751/0.3316, allocations: 396.3 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3316, allocations: 8.062 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.3316, allocations: 34.75 kB / 0.5187 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.3317, allocations: 15.47 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3318, allocations: 201.5 kB / 0.5189 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-06/0.3319, allocations: 384 / 0.5189 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3319, allocations: 11.41 kB / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.332, allocations: 62.75 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.332, allocations: 0 / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3321, allocations: 7.016 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3321, allocations: 0 / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.16e-05/0.3322, allocations: 29.77 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.3325, allocations: 302 kB / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.3326, allocations: 46.72 kB / 0.5194 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.3327, allocations: 23.69 kB / 0.5194 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3327, allocations: 4.062 kB / 0.5194 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.3327, allocations: 34.56 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3327, allocations: 2.719 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008369/0.3336, allocations: 267.5 kB / 0.5197 GB, free: 34.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.3336, allocations: 54.06 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3337, allocations: 207.8 kB / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.3338, allocations: 25.7 kB / 0.52 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.3338, allocations: 101.5 kB / 0.5201 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.3338, allocations: 26.59 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.3338, allocations: 3.938 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.3339, allocations: 328.4 kB / 0.5204 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.334, allocations: 31.98 kB / 0.5204 GB, free: 33.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.3341, allocations: 35.16 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3342, allocations: 80.64 kB / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3342, allocations: 2.969 kB / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001921/0.3344, allocations: 127.6 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3344, allocations: 6.875 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3344, allocations: 0 / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3345, allocations: 0 / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.3346, allocations: 25.75 kB / 0.5207 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3346, allocations: 3.938 kB / 0.5207 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.3346, allocations: 13.17 kB / 0.5207 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3346, allocations: 2.875 kB / 0.5207 GB, free: 33.71 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.674e-05/0.3347, allocations: 126 kB / 0.5208 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.3347, allocations: 9.688 kB / 0.5208 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.335, allocations: 133.2 kB / 0.521 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.335, allocations: 6.75 kB / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.335, allocations: 3.938 kB / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.335, allocations: 0 / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.3354, allocations: 430 kB / 0.5214 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3354, allocations: 0 / 0.5214 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.3355, allocations: 29.02 kB / 0.5214 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3355, allocations: 0 / 0.5214 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3355, allocations: 0 / 0.5214 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3355, allocations: 2.938 kB / 0.5214 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3355, allocations: 0 / 0.5214 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.3358, allocations: 220.9 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.3358, allocations: 95.52 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3358, allocations: 2.969 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.3359, allocations: 7 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.3359, allocations: 13 kB / 0.5217 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.336, allocations: 0 / 0.5217 GB, free: 32.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.918e-05/0.336, allocations: 158.2 kB / 0.5219 GB, free: 32.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3361, allocations: 0 / 0.5219 GB, free: 32.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000221/0.3363, allocations: 18.5 kB / 0.5219 GB, free: 32.77 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.001162/0.3374, allocations: 1.113 MB / 0.523 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.3377, allocations: 76.27 kB / 0.5231 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3377, allocations: 0 / 0.5231 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.3378, allocations: 49.55 kB / 0.5231 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.3381, allocations: 18.77 kB / 0.5231 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3392, allocations: 0.802 MB / 0.5239 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.3394, allocations: 0.712 MB / 0.5246 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.3395, allocations: 38.42 kB / 0.5247 GB, free: 30.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3395, allocations: 0 / 0.5247 GB, free: 30.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.718/3.057, allocations: 2.165 MB / 0.5268 GB, free: 30.41 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches