Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 198.2 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.5 MB / 243.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007045/0.0007045, allocations: 101.3 kB / 295.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3057/0.3057, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003056, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3424, allocations: 62.96 MB / 0.516 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001726/0.3442, allocations: 1.373 MB / 0.5173 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007066/0.3449, allocations: 0.5273 MB / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.345, allocations: 2.969 kB / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.3452, allocations: 50.25 kB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.3454, allocations: 67.27 kB / 0.5179 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.3458, allocations: 166.9 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3459, allocations: 72.55 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.346, allocations: 27.38 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.91e-05/0.3461, allocations: 32.03 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.3462, allocations: 32.17 kB / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3462, allocations: 2.906 kB / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.3463, allocations: 44.08 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.3463, allocations: 19.59 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.3464, allocations: 58.39 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.3465, allocations: 88.81 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3465, allocations: 0 / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3465, allocations: 0 / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3465, allocations: 0 / 0.5184 GB, free: 35.5 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.0004323/0.347, allocations: 406.4 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.347, allocations: 11.92 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.886e-05/0.3471, allocations: 33.72 kB / 0.5189 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.3471, allocations: 7.562 kB / 0.5189 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3472, allocations: 204.3 kB / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.3473, allocations: 384 / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.3473, allocations: 7.062 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3475, allocations: 74.89 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3475, allocations: 11.84 kB / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3475, allocations: 2.906 kB / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3475, allocations: 0 / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.3476, allocations: 54.56 kB / 0.5192 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.348, allocations: 327.1 kB / 0.5195 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.3482, allocations: 65.48 kB / 0.5196 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.3483, allocations: 32.81 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3484, allocations: 0 / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.3484, allocations: 37.47 kB / 0.5197 GB, free: 34.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.3484, allocations: 0 / 0.5197 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001398/0.3498, allocations: 0.4907 MB / 0.5201 GB, free: 34.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.3498, allocations: 54.44 kB / 0.5202 GB, free: 34.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.35, allocations: 188.9 kB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.35, allocations: 25.7 kB / 0.5204 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.35, allocations: 105.2 kB / 0.5205 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.3501, allocations: 37.67 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.3501, allocations: 0 / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.3501, allocations: 323.9 kB / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3503, allocations: 63.31 kB / 0.5209 GB, free: 33.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3504, allocations: 64.5 kB / 0.521 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.3507, allocations: 146.9 kB / 0.5211 GB, free: 33.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3507, allocations: 0 / 0.5211 GB, free: 33.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003144/0.351, allocations: 180.8 kB / 0.5213 GB, free: 33.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.351, allocations: 5.875 kB / 0.5213 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.351, allocations: 0 / 0.5213 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.351, allocations: 3.938 kB / 0.5213 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3512, allocations: 33 kB / 0.5213 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3512, allocations: 4 kB / 0.5213 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.3512, allocations: 12.05 kB / 0.5213 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3513, allocations: 3.031 kB / 0.5213 GB, free: 33.41 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.719e-05/0.3513, allocations: 132.7 kB / 0.5215 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.3514, allocations: 13.61 kB / 0.5215 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.3517, allocations: 206.3 kB / 0.5217 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3518, allocations: 3.938 kB / 0.5217 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3518, allocations: 2.875 kB / 0.5217 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3518, allocations: 7.328 kB / 0.5217 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.3524, allocations: 0.5173 MB / 0.5222 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3524, allocations: 2.906 kB / 0.5222 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.3525, allocations: 30.91 kB / 0.5222 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3525, allocations: 3.422 kB / 0.5222 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3525, allocations: 2.844 kB / 0.5222 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3525, allocations: 2.969 kB / 0.5222 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3525, allocations: 0 / 0.5222 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.3528, allocations: 299.4 kB / 0.5225 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.3529, allocations: 88.05 kB / 0.5226 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3529, allocations: 2.906 kB / 0.5226 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.353, allocations: 20.02 kB / 0.5226 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.3531, allocations: 12.7 kB / 0.5226 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3531, allocations: 6.969 kB / 0.5226 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.41e-05/0.3532, allocations: 141.1 kB / 0.5228 GB, free: 32.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3532, allocations: 0 / 0.5228 GB, free: 32.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.3534, allocations: 28.12 kB / 0.5228 GB, free: 32.36 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.001307/0.3547, allocations: 1.167 MB / 0.5239 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.3551, allocations: 146.7 kB / 0.5241 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3551, allocations: 0 / 0.5241 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3552, allocations: 79.56 kB / 0.5242 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.3555, allocations: 17.98 kB / 0.5242 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3568, allocations: 0.9551 MB / 0.5251 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.3569, allocations: 0.7082 MB / 0.5258 GB, free: 30.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.357, allocations: 44.39 kB / 0.5258 GB, free: 30.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.357, allocations: 0 / 0.5258 GB, free: 30.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.728/3.085, allocations: 2.406 MB / 0.5282 GB, free: 29.86 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches