Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 198.1 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.348/1.348, allocations: 226.5 MB / 243.4 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007549/0.0007549, allocations: 95.27 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3033/0.3033, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002764, allocations: 15.92 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.331, allocations: 62.95 MB / 0.516 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.001915/0.3329, allocations: 1.747 MB / 0.5177 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3344, allocations: 1.26 MB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.3345, allocations: 2.781 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.3347, allocations: 47.83 kB / 0.5189 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.335, allocations: 179.1 kB / 0.5191 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.336, allocations: 0.5555 MB / 0.5197 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.3363, allocations: 292.4 kB / 0.5199 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3365, allocations: 64.08 kB / 0.52 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.3367, allocations: 132.6 kB / 0.5201 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.3369, allocations: 172.4 kB / 0.5203 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3369, allocations: 9.094 kB / 0.5203 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.337, allocations: 50.3 kB / 0.5203 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3371, allocations: 132.3 kB / 0.5205 GB, free: 34.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.3373, allocations: 191.6 kB / 0.5206 GB, free: 34.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3375, allocations: 320.6 kB / 0.521 GB, free: 34.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3375, allocations: 0 / 0.521 GB, free: 34.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3375, allocations: 2.844 kB / 0.521 GB, free: 34.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3376, allocations: 0 / 0.521 GB, free: 34.19 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008095/0.3384, allocations: 0.7577 MB / 0.5217 GB, free: 33.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3384, allocations: 8.844 kB / 0.5217 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.3385, allocations: 40.98 kB / 0.5217 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.3388, allocations: 109.8 kB / 0.5218 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.3393, allocations: 492.9 kB / 0.5223 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.3393, allocations: 7.156 kB / 0.5223 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.3393, allocations: 16.06 kB / 0.5223 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.3396, allocations: 169.5 kB / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3397, allocations: 0 / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3397, allocations: 4 kB / 0.5225 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3397, allocations: 2.812 kB / 0.5225 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.34, allocations: 138.5 kB / 0.5226 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.3408, allocations: 0.7403 MB / 0.5234 GB, free: 32.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.3411, allocations: 143.7 kB / 0.5235 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3412, allocations: 83.73 kB / 0.5236 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.3413, allocations: 3.25 kB / 0.5236 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3413, allocations: 38.5 kB / 0.5236 GB, free: 32.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.3413, allocations: 3.938 kB / 0.5236 GB, free: 32.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001893/0.3432, allocations: 0.8207 MB / 0.5244 GB, free: 32.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.3432, allocations: 79.52 kB / 0.5245 GB, free: 31.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008246/0.3441, allocations: 0.9324 MB / 0.5254 GB, free: 31.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3441, allocations: 29.7 kB / 0.5254 GB, free: 31.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3443, allocations: 269.9 kB / 0.5257 GB, free: 31.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.3443, allocations: 69.58 kB / 0.5258 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.3443, allocations: 2.531 kB / 0.5258 GB, free: 31.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.3444, allocations: 313.9 kB / 0.5261 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.3446, allocations: 131.4 kB / 0.5262 GB, free: 30.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.3449, allocations: 142.7 kB / 0.5263 GB, free: 30.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.3454, allocations: 283.2 kB / 0.5266 GB, free: 30.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3454, allocations: 0 / 0.5266 GB, free: 30.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006375/0.3461, allocations: 376.3 kB / 0.527 GB, free: 30.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3461, allocations: 9.109 kB / 0.527 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.3461, allocations: 4 kB / 0.527 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3461, allocations: 2.688 kB / 0.527 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.3464, allocations: 63.03 kB / 0.527 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3464, allocations: 3.984 kB / 0.527 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3466, allocations: 28.8 kB / 0.5271 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.3466, allocations: 13 kB / 0.5271 GB, free: 30.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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 0.000176/0.3468, allocations: 222.2 kB / 0.5273 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.3469, allocations: 61.16 kB / 0.5273 GB, free: 30.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007699/0.3477, allocations: 430.7 kB / 0.5278 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3477, allocations: 2.969 kB / 0.5278 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3477, allocations: 0.75 kB / 0.5278 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3477, allocations: 0 / 0.5278 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.3489, allocations: 1.001 MB / 0.5287 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3489, allocations: 0 / 0.5287 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.3491, allocations: 68.11 kB / 0.5288 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3492, allocations: 6.625 kB / 0.5288 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.3492, allocations: 10.05 kB / 0.5288 GB, free: 29.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3492, allocations: 3.938 kB / 0.5288 GB, free: 29.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3492, allocations: 0 / 0.5288 GB, free: 29.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.3498, allocations: 0.5452 MB / 0.5294 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.35, allocations: 158.2 kB / 0.5295 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.35, allocations: 4 kB / 0.5295 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.3503, allocations: 35.3 kB / 0.5295 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.3503, allocations: 23.31 kB / 0.5296 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3504, allocations: 6.031 kB / 0.5296 GB, free: 29.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005464/0.3509, allocations: 0.6765 MB / 0.5302 GB, free: 29.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3509, allocations: 0 / 0.5302 GB, free: 29.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000331/0.3513, allocations: 64.44 kB / 0.5303 GB, free: 29.07 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 (20): * Single equations (assignments): 20 * 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.001471/0.3527, allocations: 1.383 MB / 0.5316 GB, free: 28.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005917/0.3533, allocations: 302.2 kB / 0.5319 GB, free: 28.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3533, allocations: 192 / 0.5319 GB, free: 28.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.3536, allocations: 165.1 kB / 0.5321 GB, free: 27.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.3542, allocations: 66.56 kB / 0.5322 GB, free: 27.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.3583, allocations: 3.661 MB / 0.5357 GB, free: 26.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3587, allocations: 0.8905 MB / 0.5366 GB, free: 25.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.3589, allocations: 190 kB / 0.5368 GB, free: 25.59 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3589, allocations: 0 / 0.5368 GB, free: 25.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.025/3.384, allocations: 8.109 MB / 0.5447 GB, free: 24.17 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches