Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 226.5 MB / 243.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007465/0.0007463, allocations: 105.5 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3126/0.3126, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 11.98 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3456, allocations: 62.97 MB / 0.516 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001463/0.3471, allocations: 1.343 MB / 0.5173 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006405/0.3477, allocations: 0.5017 MB / 0.5178 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.3478, allocations: 0 / 0.5178 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.3482, allocations: 444.9 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.3485, allocations: 266.5 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3488, allocations: 120 kB / 0.5186 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.3489, allocations: 131.9 kB / 0.5187 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.349, allocations: 13.86 kB / 0.5187 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.623e-05/0.3491, allocations: 104.8 kB / 0.5188 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.3493, allocations: 165.1 kB / 0.519 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.3493, allocations: 3.031 kB / 0.519 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.3494, allocations: 33.69 kB / 0.519 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.3495, allocations: 78.62 kB / 0.5191 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.3495, allocations: 121.8 kB / 0.5192 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3497, allocations: 187 kB / 0.5194 GB, free: 35.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3497, allocations: 0 / 0.5194 GB, free: 35.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3497, allocations: 4 kB / 0.5194 GB, free: 35.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3497, allocations: 0 / 0.5194 GB, free: 35.33 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.0004933/0.3502, allocations: 0.5981 MB / 0.5199 GB, free: 34.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3503, allocations: 8.906 kB / 0.52 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.565e-05/0.3503, allocations: 33.75 kB / 0.52 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.3503, allocations: 42.75 kB / 0.52 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3505, allocations: 309.2 kB / 0.5203 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.3505, allocations: 4.375 kB / 0.5203 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.3506, allocations: 7.031 kB / 0.5203 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.3507, allocations: 53.12 kB / 0.5204 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3507, allocations: 7.25 kB / 0.5204 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.3507, allocations: 0 / 0.5204 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3507, allocations: 0 / 0.5204 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.3508, allocations: 24.56 kB / 0.5204 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.3512, allocations: 398.3 kB / 0.5208 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3514, allocations: 49.97 kB / 0.5208 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.3514, allocations: 10.73 kB / 0.5209 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3515, allocations: 2.938 kB / 0.5209 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.3515, allocations: 37.75 kB / 0.5209 GB, free: 33.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3515, allocations: 0 / 0.5209 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005241/0.352, allocations: 249.1 kB / 0.5211 GB, free: 33.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.352, allocations: 54.22 kB / 0.5212 GB, free: 33.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.3527, allocations: 0.8721 MB / 0.522 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3527, allocations: 29.7 kB / 0.5221 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3528, allocations: 231.3 kB / 0.5223 GB, free: 33.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.3528, allocations: 14.27 kB / 0.5223 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.3528, allocations: 0 / 0.5223 GB, free: 33.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.3529, allocations: 362.2 kB / 0.5226 GB, free: 32.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.353, allocations: 29.58 kB / 0.5227 GB, free: 32.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.456e-05/0.3531, allocations: 20 kB / 0.5227 GB, free: 32.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.3532, allocations: 58.56 kB / 0.5227 GB, free: 32.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3532, allocations: 0 / 0.5227 GB, free: 32.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001755/0.3534, allocations: 122 kB / 0.5229 GB, free: 32.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3534, allocations: 5.812 kB / 0.5229 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3534, allocations: 0 / 0.5229 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3534, allocations: 0 / 0.5229 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.3535, allocations: 27.28 kB / 0.5229 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3535, allocations: 0 / 0.5229 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.3536, allocations: 12.78 kB / 0.5229 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.3536, allocations: 2.531 kB / 0.5229 GB, free: 32.78 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 0.0001304/0.3537, allocations: 209.2 kB / 0.5231 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.3538, allocations: 42.38 kB / 0.5231 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.354, allocations: 151.4 kB / 0.5233 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.354, allocations: 0 / 0.5233 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.354, allocations: 0 / 0.5233 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.354, allocations: 3.938 kB / 0.5233 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.3544, allocations: 471.4 kB / 0.5237 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3544, allocations: 64 / 0.5237 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.3545, allocations: 21.41 kB / 0.5238 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3545, allocations: 0 / 0.5238 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3545, allocations: 6.625 kB / 0.5238 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3545, allocations: 0 / 0.5238 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3545, allocations: 0 / 0.5238 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3547, allocations: 224.6 kB / 0.524 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.3548, allocations: 111.8 kB / 0.5241 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3548, allocations: 6.812 kB / 0.5241 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.3549, allocations: 5.125 kB / 0.5241 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.3549, allocations: 9.453 kB / 0.5241 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.3549, allocations: 4 kB / 0.5241 GB, free: 31.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004606/0.3554, allocations: 0.66 MB / 0.5248 GB, free: 31.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3554, allocations: 2.594 kB / 0.5248 GB, free: 31.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000234/0.3556, allocations: 20.97 kB / 0.5248 GB, free: 31.63 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.001008/0.3567, allocations: 1.053 MB / 0.5258 GB, free: 30.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.3568, allocations: 55.69 kB / 0.5259 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3569, allocations: 0 / 0.5259 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.688e-05/0.3569, allocations: 26.64 kB / 0.5259 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.3573, allocations: 23.69 kB / 0.5259 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.3596, allocations: 2.383 MB / 0.5282 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.3598, allocations: 0.8258 MB / 0.529 GB, free: 29.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.3599, allocations: 107.3 kB / 0.5291 GB, free: 28.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3599, allocations: 0 / 0.5291 GB, free: 28.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.72/3.08, allocations: 6.582 MB / 0.5356 GB, free: 27.48 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches