Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 199.7 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.209/1.209, allocations: 226.5 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007009/0.0007009, allocations: 103.4 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2884/0.2884, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002525, allocations: 12 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3398, allocations: 62.96 MB / 0.516 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.001861/0.3417, allocations: 1.365 MB / 0.5173 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.3425, allocations: 0.5328 MB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.3426, allocations: 0 / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.3429, allocations: 65.2 kB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.3431, allocations: 93.81 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.3434, allocations: 156.4 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.3436, allocations: 79.47 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3437, allocations: 27.47 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.3438, allocations: 33.25 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.3439, allocations: 50.23 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3439, allocations: 0 / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.803e-05/0.344, allocations: 41.39 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.344, allocations: 30.05 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.3441, allocations: 60.41 kB / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.3442, allocations: 84.8 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3443, allocations: 2.875 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3443, allocations: 0 / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3443, allocations: 0 / 0.5185 GB, free: 35.54 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00051/0.3448, allocations: 422.5 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3448, allocations: 8.75 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.3449, allocations: 42.75 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.3449, allocations: 10.69 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.3451, allocations: 208.5 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3451, allocations: 7.344 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3451, allocations: 3.25 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.3453, allocations: 74.36 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3453, allocations: 0 / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3453, allocations: 4 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3454, allocations: 6.844 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3455, allocations: 45.84 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3459, allocations: 347 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.3461, allocations: 60.08 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.3462, allocations: 30.05 kB / 0.5197 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3462, allocations: 4 kB / 0.5197 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.3463, allocations: 33.8 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3463, allocations: 0 / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001412/0.3477, allocations: 0.4939 MB / 0.5202 GB, free: 34.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.3477, allocations: 51.41 kB / 0.5203 GB, free: 34.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3479, allocations: 221.4 kB / 0.5205 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.3479, allocations: 28.39 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.348, allocations: 109.9 kB / 0.5206 GB, free: 33.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.348, allocations: 37.56 kB / 0.5207 GB, free: 33.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.348, allocations: 6.906 kB / 0.5207 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.3481, allocations: 328.3 kB / 0.521 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3482, allocations: 59.17 kB / 0.521 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3483, allocations: 65.41 kB / 0.5211 GB, free: 33.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.3486, allocations: 147 kB / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3487, allocations: 0 / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003103/0.349, allocations: 178.8 kB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.349, allocations: 9 kB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.349, allocations: 0 / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.349, allocations: 6.594 kB / 0.5214 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3491, allocations: 30.48 kB / 0.5215 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3492, allocations: 0 / 0.5215 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.3492, allocations: 14.89 kB / 0.5215 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3492, allocations: 10.91 kB / 0.5215 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 (11): * Single equations (assignments): 11 * 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 7.751e-05/0.3493, allocations: 128.5 kB / 0.5216 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.3494, allocations: 21.28 kB / 0.5216 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.3497, allocations: 206.2 kB / 0.5218 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3498, allocations: 3.938 kB / 0.5218 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3498, allocations: 0 / 0.5218 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3498, allocations: 0 / 0.5218 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.3504, allocations: 0.5258 MB / 0.5223 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3504, allocations: 3.031 kB / 0.5223 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.275e-05/0.3505, allocations: 30.67 kB / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3505, allocations: 0 / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3505, allocations: 2.969 kB / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3505, allocations: 0 / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3505, allocations: 10.2 kB / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.3508, allocations: 286.1 kB / 0.5227 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.3509, allocations: 94.06 kB / 0.5227 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3509, allocations: 0 / 0.5227 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/0.351, allocations: 22.95 kB / 0.5228 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.3511, allocations: 9.062 kB / 0.5228 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3511, allocations: 5.922 kB / 0.5228 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3512, allocations: 166.2 kB / 0.5229 GB, free: 32.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3512, allocations: 3.938 kB / 0.5229 GB, free: 32.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.3514, allocations: 28.34 kB / 0.523 GB, free: 32.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001338/0.3528, allocations: 1.182 MB / 0.5241 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.3531, allocations: 134.9 kB / 0.5243 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3531, allocations: 6.844 kB / 0.5243 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.3532, allocations: 77.2 kB / 0.5243 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3536, allocations: 20.8 kB / 0.5244 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.355, allocations: 1.031 MB / 0.5254 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.3551, allocations: 0.7231 MB / 0.5261 GB, free: 30.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.3552, allocations: 47.08 kB / 0.5261 GB, free: 30.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3552, allocations: 0 / 0.5261 GB, free: 30.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.943/3.298, allocations: 2.577 MB / 0.5286 GB, free: 29.79 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches