Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.00147/0.00147, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001258/0.001258, allocations: 192 kB / 18.56 MB, free: 4.434 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.406/1.406, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2112/0.2112, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.17 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1221, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003789/0.1259, allocations: 1.576 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00086/0.1268, allocations: 439.2 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.1269, allocations: 4 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.1275, allocations: 447.1 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.1279, allocations: 251.4 kB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.1285, allocations: 170.6 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.1287, allocations: 171.6 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.1288, allocations: 8.188 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.129, allocations: 115.7 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1292, allocations: 211.6 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.1292, allocations: 0 / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.1293, allocations: 23.94 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1294, allocations: 87.67 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.349e-05/0.1295, allocations: 99.05 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.1298, allocations: 239.3 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1298, allocations: 7.938 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1298, allocations: 0 / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1298, allocations: 0 / 473.2 MB, free: 10.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007106/0.1305, allocations: 0.6375 MB / 473.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1306, allocations: 12.03 kB / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.1306, allocations: 34.75 kB / 473.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.1307, allocations: 36.47 kB / 473.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.131, allocations: 308.1 kB / 474.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.131, allocations: 12.34 kB / 474.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.131, allocations: 8.125 kB / 474.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1312, allocations: 49.69 kB / 474.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1312, allocations: 0 / 474.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1312, allocations: 4 kB / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1312, allocations: 0 / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.1314, allocations: 35.95 kB / 474.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1319, allocations: 400.6 kB / 474.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.132, allocations: 42.56 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.975e-05/0.1321, allocations: 24.94 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1321, allocations: 0 / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1321, allocations: 34.56 kB / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1321, allocations: 0 / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003713/0.1325, allocations: 129.1 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1326, allocations: 51.41 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008265/0.1334, allocations: 0.8613 MB / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1334, allocations: 25.7 kB / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1336, allocations: 216 kB / 476 MB, free: 7.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1336, allocations: 11.84 kB / 476.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.1337, allocations: 25.64 kB / 476.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1339, allocations: 358.7 kB / 476.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.1339, allocations: 19.98 kB / 476.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.134, allocations: 15.98 kB / 476.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1341, allocations: 48.81 kB / 476.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1342, allocations: 4 kB / 476.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002157/0.1344, allocations: 113 kB / 476.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1344, allocations: 4 kB / 476.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1344, allocations: 0 / 476.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1344, allocations: 0 / 476.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.1345, allocations: 11.98 kB / 476.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1345, allocations: 0 / 476.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.1346, allocations: 8 kB / 476.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1346, allocations: 0 / 476.7 MB, free: 6.703 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0001937/0.1348, allocations: 217.7 kB / 476.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.1349, allocations: 39.53 kB / 476.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.1352, allocations: 129.2 kB / 477 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1352, allocations: 0 / 477 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1352, allocations: 0 / 477 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1352, allocations: 48 / 477 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.1355, allocations: 305.4 kB / 477.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1355, allocations: 4 kB / 477.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.1356, allocations: 7.984 kB / 477.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1356, allocations: 0 / 477.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1356, allocations: 4 kB / 477.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1356, allocations: 4 kB / 477.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1356, allocations: 0 / 477.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1359, allocations: 203 kB / 477.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.136, allocations: 120.5 kB / 477.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.136, allocations: 0 / 477.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.1361, allocations: 4 kB / 477.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1362, allocations: 7.938 kB / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.1362, allocations: 0 / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005835/0.1368, allocations: 0.6511 MB / 478.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1368, allocations: 0 / 478.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.137, allocations: 23.94 kB / 478.4 MB, free: 4.898 MB / 350.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 (3): * Single equations (assignments): 3 * 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.001178/0.1382, allocations: 0.9894 MB / 479.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1384, allocations: 51.91 kB / 479.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1384, allocations: 0 / 479.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.1385, allocations: 19.98 kB / 479.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1389, allocations: 25.95 kB / 479.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.1424, allocations: 3.206 MB / 482.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.1429, allocations: 0.8221 MB / 483.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.468e-05/0.1429, allocations: 20.05 kB / 483.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1431, allocations: 103.4 kB / 483.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 1.683e-06/0.1431, allocations: 4.094 kB / 483.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.1703, allocations: 5.688 MB / 489.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/7.73, allocations: 2.656 kB / 489.3 MB, free: 10.05 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches