Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.0008174/0.0008174, allocations: 91.02 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009149/0.0009151, allocations: 178.5 kB / 18.26 MB, free: 5.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 242.3 MB, free: 52 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2102/0.2102, allocations: 44.25 MB / 337.7 MB, free: 2.602 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002915, allocations: 8 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 61.93 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002289/0.1178, allocations: 1.719 MB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1192, allocations: 1.037 MB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.1193, allocations: 0 / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1195, allocations: 27.8 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1198, allocations: 143.5 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.1205, allocations: 400.1 kB / 475.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.1208, allocations: 275 kB / 475.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.121, allocations: 56.98 kB / 476 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1212, allocations: 107.5 kB / 476.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1214, allocations: 183.2 kB / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.1214, allocations: 8 kB / 476.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1215, allocations: 47.98 kB / 476.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1217, allocations: 135.5 kB / 476.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1218, allocations: 188.3 kB / 476.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.1222, allocations: 374.5 kB / 477 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1222, allocations: 0 / 477 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1222, allocations: 0 / 477 MB, free: 8.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1222, allocations: 4 kB / 477 MB, free: 8.523 MB / 350.1 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.0009219/0.1231, allocations: 0.7311 MB / 477.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1232, allocations: 8.031 kB / 477.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.1233, allocations: 38.75 kB / 477.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.1233, allocations: 56.19 kB / 477.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.1238, allocations: 463.7 kB / 478.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1238, allocations: 12.31 kB / 478.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.1239, allocations: 15.92 kB / 478.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.1242, allocations: 151.3 kB / 478.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1242, allocations: 0 / 478.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1242, allocations: 4 kB / 478.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1243, allocations: 8 kB / 478.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.1246, allocations: 119.8 kB / 478.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.1254, allocations: 0.6878 MB / 479.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1257, allocations: 125.2 kB / 479.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.1259, allocations: 73.8 kB / 479.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.1259, allocations: 15.91 kB / 479.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1259, allocations: 38.5 kB / 479.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.1259, allocations: 0 / 479.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001898/0.1278, allocations: 0.7361 MB / 480.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.1279, allocations: 85.05 kB / 480.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.1288, allocations: 0.8701 MB / 481.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1288, allocations: 29.7 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.129, allocations: 260.6 kB / 481.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.1291, allocations: 67 kB / 481.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.1291, allocations: 29.64 kB / 481.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1293, allocations: 370.7 kB / 482 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.1295, allocations: 107.9 kB / 482.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.1298, allocations: 129.6 kB / 482.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.1303, allocations: 245.7 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1304, allocations: 0 / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006549/0.131, allocations: 324.8 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.131, allocations: 8 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1311, allocations: 3.938 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1311, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.1314, allocations: 67.94 kB / 482.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1314, allocations: 4 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1316, allocations: 24.73 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.1316, allocations: 15.98 kB / 482.9 MB, free: 2.379 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.1318, allocations: 213.6 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.1319, allocations: 55.25 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/0.1327, allocations: 386.3 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1327, allocations: 0 / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1327, allocations: 8.078 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1327, allocations: 7.938 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.1341, allocations: 0.9073 MB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1341, allocations: 7.984 kB / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.1343, allocations: 63.89 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1343, allocations: 0 / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.1344, allocations: 8 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1344, allocations: 3.938 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1344, allocations: 0 / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007199/0.1351, allocations: 0.4941 MB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.1353, allocations: 160.4 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.1353, allocations: 4 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.1356, allocations: 35.91 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.1357, allocations: 23.91 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1357, allocations: 11.94 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006362/0.1363, allocations: 0.6354 MB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1363, allocations: 0 / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.1367, allocations: 60 kB / 486 MB, free: 15.2 MB / 366.1 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 (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.001779/0.1385, allocations: 1.334 MB / 487.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.1391, allocations: 259.7 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1391, allocations: 4 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.1394, allocations: 140.4 kB / 487.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.14, allocations: 74.94 kB / 487.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006396/0.1465, allocations: 5.525 MB / 493.3 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1469, allocations: 0.8614 MB / 494.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.1471, allocations: 83.22 kB / 494.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.1473, allocations: 179.4 kB / 494.4 MB, free: 6.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1473, allocations: 0 / 494.4 MB, free: 6.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.1668, allocations: 9.152 MB / 0.4917 GB, free: 13.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.167, allocations: 241 kB / 0.492 GB, free: 13.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.046, allocations: 0 / 0.492 GB, free: 13.49 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches