Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 204.1 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 226.5 MB / 243.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008814/0.0008814, allocations: 100.1 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2958/0.2958, allocations: 44.83 MB / 392.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002679, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3879, allocations: 62.96 MB / 0.516 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.00214/0.3901, allocations: 1.599 MB / 0.5175 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3916, allocations: 0.999 MB / 0.5185 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3917, allocations: 6.906 kB / 0.5185 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004508/0.3922, allocations: 254.3 kB / 0.5187 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.3926, allocations: 227.2 kB / 0.519 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.3938, allocations: 0.5908 MB / 0.5195 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.3942, allocations: 265.7 kB / 0.5198 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.3944, allocations: 61.09 kB / 0.5199 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.3945, allocations: 109.7 kB / 0.52 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.3947, allocations: 162.3 kB / 0.5201 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.3947, allocations: 3.844 kB / 0.5201 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3949, allocations: 44.98 kB / 0.5202 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.395, allocations: 83.16 kB / 0.5202 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.3951, allocations: 130.6 kB / 0.5204 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.3954, allocations: 223.8 kB / 0.5206 GB, free: 34.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3954, allocations: 0 / 0.5206 GB, free: 34.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3954, allocations: 3.031 kB / 0.5206 GB, free: 34.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3954, allocations: 4 kB / 0.5206 GB, free: 34.49 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006662/0.3961, allocations: 0.6007 MB / 0.5212 GB, free: 33.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3962, allocations: 8.594 kB / 0.5212 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.3962, allocations: 40.92 kB / 0.5212 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.3963, allocations: 42 kB / 0.5213 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.3966, allocations: 345.5 kB / 0.5216 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3967, allocations: 7.047 kB / 0.5216 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.3967, allocations: 7.438 kB / 0.5216 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3969, allocations: 100 kB / 0.5217 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3969, allocations: 2.906 kB / 0.5217 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3969, allocations: 4 kB / 0.5217 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3969, allocations: 0 / 0.5217 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3971, allocations: 81.89 kB / 0.5218 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.3977, allocations: 473.1 kB / 0.5222 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.3978, allocations: 80.22 kB / 0.5223 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.3979, allocations: 35.72 kB / 0.5223 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.398, allocations: 2.625 kB / 0.5223 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.398, allocations: 34.56 kB / 0.5224 GB, free: 33.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.398, allocations: 2.938 kB / 0.5224 GB, free: 33.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003189/0.3983, allocations: 161.5 kB / 0.5225 GB, free: 32.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.3984, allocations: 55.34 kB / 0.5226 GB, free: 32.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.3989, allocations: 0.605 MB / 0.5232 GB, free: 32.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.3989, allocations: 25.7 kB / 0.5232 GB, free: 32.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3991, allocations: 211 kB / 0.5234 GB, free: 32.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3991, allocations: 33.61 kB / 0.5234 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.3991, allocations: 0 / 0.5234 GB, free: 32.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.3992, allocations: 353.9 kB / 0.5238 GB, free: 32.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.3992, allocations: 27.05 kB / 0.5238 GB, free: 32.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.3993, allocations: 29.2 kB / 0.5238 GB, free: 32.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.3994, allocations: 72.88 kB / 0.5239 GB, free: 32.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3994, allocations: 0 / 0.5239 GB, free: 32.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001833/0.3996, allocations: 126.6 kB / 0.524 GB, free: 31.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3996, allocations: 5.094 kB / 0.524 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3997, allocations: 0 / 0.524 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3997, allocations: 7.875 kB / 0.524 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.3998, allocations: 23.28 kB / 0.5241 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3998, allocations: 0 / 0.5241 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.3998, allocations: 5.688 kB / 0.5241 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3999, allocations: 3.031 kB / 0.5241 GB, free: 31.98 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 (6): * Single equations (assignments): 6 * 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.0001429/0.4, allocations: 172.1 kB / 0.5242 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.4001, allocations: 41.06 kB / 0.5243 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.4003, allocations: 161.1 kB / 0.5244 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4004, allocations: 7.875 kB / 0.5244 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4004, allocations: 0 / 0.5244 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4004, allocations: 0 / 0.5244 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.4006, allocations: 306.6 kB / 0.5247 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4006, allocations: 0 / 0.5247 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.4007, allocations: 11.03 kB / 0.5247 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4007, allocations: 3.422 kB / 0.5247 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.4007, allocations: 6.938 kB / 0.5247 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4007, allocations: 3.938 kB / 0.5247 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4007, allocations: 4 kB / 0.5247 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.4009, allocations: 226.5 kB / 0.525 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.401, allocations: 126.9 kB / 0.5251 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.401, allocations: 0 / 0.5251 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.4011, allocations: 16.33 kB / 0.5251 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.4012, allocations: 11.84 kB / 0.5251 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.4012, allocations: 3.938 kB / 0.5251 GB, free: 31.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003602/0.4016, allocations: 452.5 kB / 0.5255 GB, free: 31.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4016, allocations: 0 / 0.5255 GB, free: 31.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.4018, allocations: 32.28 kB / 0.5256 GB, free: 31 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 (6): * Single equations (assignments): 6 * 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.00147/0.4033, allocations: 1.251 MB / 0.5268 GB, free: 30.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.4035, allocations: 74 kB / 0.5269 GB, free: 30.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4035, allocations: 3.938 kB / 0.5269 GB, free: 30.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.773e-05/0.4036, allocations: 30.7 kB / 0.5269 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.4041, allocations: 73.36 kB / 0.527 GB, free: 30.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.4064, allocations: 2.01 MB / 0.5289 GB, free: 29.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.4067, allocations: 0.8118 MB / 0.5297 GB, free: 28.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.4068, allocations: 115.7 kB / 0.5298 GB, free: 28.28 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4068, allocations: 0 / 0.5298 GB, free: 28.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.164/3.571, allocations: 5.399 MB / 0.5351 GB, free: 27.63 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches