Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",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.00114/0.001141, allocations: 99.75 kB / 16.02 MB, free: 72 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.00166/0.00166, allocations: 182.5 kB / 16.92 MB, free: 6.691 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.451/1.451, allocations: 205.4 MB / 223.1 MB, free: 5.77 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.3419/0.3419, allocations: 43.57 MB / 315 MB, free: 8.672 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.0005063/0.0005064, allocations: 16 kB / 384.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1176, allocations: 58.86 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002017/0.1197, allocations: 1.329 MB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000638/0.1203, allocations: 343.6 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.1204, allocations: 0 / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.1209, allocations: 455.1 kB / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.1212, allocations: 243.6 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.1215, allocations: 143.8 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.1217, allocations: 163.7 kB / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.1218, allocations: 24.19 kB / 446.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.122, allocations: 111.7 kB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1222, allocations: 195.6 kB / 446.5 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1222, allocations: 4 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.1223, allocations: 31.92 kB / 446.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1224, allocations: 83.67 kB / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.1225, allocations: 128.7 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.1228, allocations: 250.9 kB / 447 MB, free: 9.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1228, allocations: 0 / 447 MB, free: 9.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1228, allocations: 4 kB / 447 MB, free: 9.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.1228, allocations: 0 / 447 MB, free: 9.078 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.0006473/0.1235, allocations: 0.5989 MB / 447.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1235, allocations: 15.97 kB / 447.6 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.1236, allocations: 34.73 kB / 447.7 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.1236, allocations: 48.38 kB / 447.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1239, allocations: 288.2 kB / 448 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1239, allocations: 12.38 kB / 448 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1239, allocations: 384 / 448 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1241, allocations: 65.61 kB / 448.1 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1241, allocations: 4 kB / 448.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1241, allocations: 0 / 448.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1241, allocations: 0 / 448.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.1243, allocations: 59.88 kB / 448.1 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.1248, allocations: 404.7 kB / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.125, allocations: 54.55 kB / 448.6 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/0.1251, allocations: 28.94 kB / 448.6 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1251, allocations: 0 / 448.6 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1251, allocations: 42.44 kB / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1251, allocations: 0 / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009037/0.1261, allocations: 339.8 kB / 449 MB, free: 6.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.1261, allocations: 59.34 kB / 449 MB, free: 6.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008284/0.127, allocations: 0.869 MB / 449.9 MB, free: 5.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.127, allocations: 29.7 kB / 449.9 MB, free: 5.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.1272, allocations: 220 kB / 450.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.1272, allocations: 19.78 kB / 450.2 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1272, allocations: 13.72 kB / 450.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1274, allocations: 366.8 kB / 450.5 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1276, allocations: 43.97 kB / 450.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1277, allocations: 43.97 kB / 450.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.1279, allocations: 109 kB / 450.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1279, allocations: 0 / 450.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003354/0.1283, allocations: 177 kB / 450.9 MB, free: 4.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1283, allocations: 8 kB / 450.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1283, allocations: 0 / 450.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1283, allocations: 0 / 450.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1285, allocations: 23.98 kB / 450.9 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1285, allocations: 0 / 450.9 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.1286, allocations: 19.92 kB / 450.9 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1286, allocations: 8 kB / 451 MB, free: 4.887 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.0001754/0.1288, allocations: 213.8 kB / 451.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.1289, allocations: 43.44 kB / 451.2 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.1293, allocations: 197.3 kB / 451.4 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1293, allocations: 0 / 451.4 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1293, allocations: 0 / 451.4 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1293, allocations: 3.938 kB / 451.4 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000656/0.13, allocations: 0.5219 MB / 451.9 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.13, allocations: 0 / 451.9 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.1301, allocations: 27.92 kB / 452 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1301, allocations: 0 / 452 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1301, allocations: 7.938 kB / 452 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1301, allocations: 0 / 452 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1301, allocations: 0 / 452 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.1304, allocations: 274.8 kB / 452.2 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.1305, allocations: 120.5 kB / 452.3 MB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1306, allocations: 7.938 kB / 452.4 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1307, allocations: 15.98 kB / 452.4 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1307, allocations: 7.984 kB / 452.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1307, allocations: 4 kB / 452.4 MB, free: 3.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005733/0.1313, allocations: 0.6511 MB / 453 MB, free: 2.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1313, allocations: 0 / 453 MB, free: 2.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1316, allocations: 24 kB / 453.1 MB, free: 2.68 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.001471/0.133, allocations: 1.124 MB / 454.2 MB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.1334, allocations: 103.9 kB / 454.3 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1334, allocations: 4 kB / 454.3 MB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1335, allocations: 55.91 kB / 454.3 MB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1339, allocations: 25.95 kB / 454.4 MB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2113/0.3452, allocations: 3.472 MB / 457.8 MB, free: 45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3456, allocations: 0.8331 MB / 458.7 MB, free: 44.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.3457, allocations: 18.62 kB / 458.7 MB, free: 44.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.3459, allocations: 120.7 kB / 458.8 MB, free: 44.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.833e-06/0.3459, allocations: 0 / 458.8 MB, free: 44.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.3618, allocations: 5.557 MB / 464.4 MB, free: 43.9 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.362, allocations: 242 kB / 464.6 MB, free: 43.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.264, allocations: 0 / 464.6 MB, free: 43.64 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches