Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 184.1 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3453/0.3453, allocations: 43.57 MB / 315 MB, free: 9.027 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000512/0.000512, allocations: 23.98 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1177, allocations: 58.87 MB / 443.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001977/0.1197, allocations: 1.329 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006308/0.1204, allocations: 343.7 kB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.1204, allocations: 0 / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.121, allocations: 447.2 kB / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.1213, allocations: 243.6 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.1217, allocations: 147.7 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.1219, allocations: 163.6 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.122, allocations: 28.2 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1221, allocations: 103.8 kB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1223, allocations: 203.6 kB / 446.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1224, allocations: 0 / 446.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.1224, allocations: 27.97 kB / 446.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.549e-05/0.1225, allocations: 83.7 kB / 446.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.719e-05/0.1226, allocations: 132.6 kB / 446.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1229, allocations: 258.8 kB / 447 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1229, allocations: 0 / 447 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1229, allocations: 0 / 447 MB, free: 9.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1229, allocations: 0 / 447 MB, free: 9.328 MB / 382.1 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.0006892/0.1236, allocations: 0.595 MB / 447.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1237, allocations: 12.03 kB / 447.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.1237, allocations: 38.75 kB / 447.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1238, allocations: 44.38 kB / 447.7 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1241, allocations: 296.2 kB / 448 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1241, allocations: 384 / 448 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1241, allocations: 12.36 kB / 448 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1243, allocations: 65.55 kB / 448.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1243, allocations: 0 / 448.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1243, allocations: 4 kB / 448.1 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1243, allocations: 4 kB / 448.1 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1245, allocations: 43.97 kB / 448.1 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.125, allocations: 412.7 kB / 448.5 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1251, allocations: 50.5 kB / 448.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.1252, allocations: 28.94 kB / 448.6 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1253, allocations: 7.984 kB / 448.6 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1253, allocations: 38.5 kB / 448.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1253, allocations: 0 / 448.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008824/0.1262, allocations: 347.9 kB / 449 MB, free: 7.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1262, allocations: 51.41 kB / 449 MB, free: 7.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.127, allocations: 0.8613 MB / 449.9 MB, free: 6.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1271, allocations: 29.7 kB / 449.9 MB, free: 6.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1272, allocations: 212 kB / 450.1 MB, free: 5.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.1273, allocations: 19.72 kB / 450.2 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.1273, allocations: 21.7 kB / 450.2 MB, free: 5.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1274, allocations: 354.8 kB / 450.5 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1276, allocations: 47.97 kB / 450.6 MB, free: 5.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1277, allocations: 47.95 kB / 450.6 MB, free: 5.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1279, allocations: 108.7 kB / 450.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1279, allocations: 0 / 450.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003219/0.1283, allocations: 177.1 kB / 450.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1283, allocations: 4 kB / 450.9 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1283, allocations: 0 / 450.9 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1283, allocations: 0 / 450.9 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1285, allocations: 31.97 kB / 450.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1285, allocations: 0 / 450.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.1286, allocations: 11.94 kB / 450.9 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.1286, allocations: 12.2 kB / 451 MB, free: 5.152 MB / 382.1 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.1288, allocations: 213.7 kB / 451.2 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.1288, allocations: 47.44 kB / 451.2 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.1293, allocations: 205.7 kB / 451.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1293, allocations: 4 kB / 451.4 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1293, allocations: 0 / 451.4 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1293, allocations: 3.938 kB / 451.4 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.13, allocations: 0.5257 MB / 451.9 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.13, allocations: 0 / 451.9 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.1301, allocations: 23.97 kB / 452 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1301, allocations: 4 kB / 452 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1301, allocations: 3.938 kB / 452 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1301, allocations: 0 / 452 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1301, allocations: 0 / 452 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.1305, allocations: 282.8 kB / 452.2 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.1306, allocations: 108.5 kB / 452.4 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.1306, allocations: 3.938 kB / 452.4 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1307, allocations: 19.98 kB / 452.4 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.1308, allocations: 7.984 kB / 452.4 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1308, allocations: 0 / 452.4 MB, free: 3.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005911/0.1314, allocations: 0.6472 MB / 453 MB, free: 2.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1314, allocations: 0 / 453 MB, free: 2.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1317, allocations: 35.98 kB / 453.1 MB, free: 2.926 MB / 382.1 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001452/0.1331, allocations: 1.113 MB / 454.2 MB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.1335, allocations: 107.9 kB / 454.3 MB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1335, allocations: 0 / 454.3 MB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1336, allocations: 55.97 kB / 454.3 MB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.134, allocations: 25.95 kB / 454.4 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1973/0.3313, allocations: 3.478 MB / 457.8 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3316, allocations: 0.8273 MB / 458.7 MB, free: 44.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.542e-05/0.3317, allocations: 24.88 kB / 458.7 MB, free: 44.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3318, allocations: 120.2 kB / 458.8 MB, free: 44.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3318, allocations: 0 / 458.8 MB, free: 44.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.3476, allocations: 5.556 MB / 464.4 MB, free: 43.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.3478, allocations: 241.4 kB / 464.6 MB, free: 43.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.291, allocations: 4 kB / 464.6 MB, free: 43.69 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches