Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.001073/0.001073, allocations: 104.5 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.00106/0.00106, 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.377/1.377, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.208/0.208, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 61.31 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1418, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003867/0.1457, allocations: 1.612 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008365/0.1466, allocations: 415.2 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.1467, allocations: 7.938 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.1472, allocations: 451.2 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.1476, allocations: 247.4 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1479, allocations: 139.1 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1482, allocations: 155.7 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1483, allocations: 20.16 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1484, allocations: 99.8 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.1486, allocations: 215.6 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.1487, allocations: 0 / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.968e-05/0.1488, allocations: 35.97 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1489, allocations: 83.69 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.696e-05/0.149, allocations: 99 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.1493, allocations: 255.2 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1493, allocations: 0 / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1493, allocations: 0 / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1493, allocations: 0 / 473.1 MB, free: 10.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000727/0.15, allocations: 0.6336 MB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1501, allocations: 16.02 kB / 473.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.1501, allocations: 34.75 kB / 473.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.1502, allocations: 44.47 kB / 473.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1504, allocations: 296.1 kB / 474.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.1505, allocations: 384 / 474.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1505, allocations: 12.12 kB / 474.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1506, allocations: 45.69 kB / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1506, allocations: 0 / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.1507, allocations: 4 kB / 474.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1507, allocations: 4 kB / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.716e-05/0.1508, allocations: 31.91 kB / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.1512, allocations: 388.6 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.1514, allocations: 38.56 kB / 474.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1515, allocations: 28.88 kB / 474.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1515, allocations: 0 / 474.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.1516, allocations: 30.56 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1516, allocations: 0 / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005877/0.1522, allocations: 216 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.1522, allocations: 59.41 kB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007556/0.153, allocations: 0.8652 MB / 475.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.153, allocations: 25.7 kB / 475.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.1532, allocations: 228 kB / 476.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1532, allocations: 19.8 kB / 476.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.1533, allocations: 17.72 kB / 476.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1534, allocations: 358.8 kB / 476.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.1535, allocations: 19.98 kB / 476.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/0.1536, allocations: 23.97 kB / 476.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1537, allocations: 44.84 kB / 476.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1537, allocations: 3.938 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002219/0.1539, allocations: 117 kB / 476.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.154, allocations: 7.984 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.154, allocations: 0 / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.154, allocations: 4 kB / 476.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.1541, allocations: 8 kB / 476.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1541, allocations: 7.938 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.1541, allocations: 3.984 kB / 476.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1542, allocations: 8.234 kB / 476.7 MB, free: 6.625 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 (5): * Single equations (assignments): 5 * 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.000178/0.1543, allocations: 209.8 kB / 477 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.1544, allocations: 39.72 kB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1547, allocations: 149 kB / 477.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1547, allocations: 3.984 kB / 477.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1547, allocations: 3.938 kB / 477.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1547, allocations: 0 / 477.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.1553, allocations: 450.5 kB / 477.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1553, allocations: 0 / 477.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.1554, allocations: 23.92 kB / 477.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1554, allocations: 3.938 kB / 477.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1554, allocations: 0 / 477.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1554, allocations: 0 / 477.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1554, allocations: 0 / 477.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1557, allocations: 211 kB / 477.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.1557, allocations: 112.6 kB / 477.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.1558, allocations: 7.938 kB / 477.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1559, allocations: 7.984 kB / 477.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1559, allocations: 0 / 477.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.1559, allocations: 4 kB / 477.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006147/0.1566, allocations: 0.655 MB / 478.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1566, allocations: 3.938 kB / 478.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1569, allocations: 27.91 kB / 478.6 MB, free: 4.629 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 (5): * Single equations (assignments): 5 * 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.001348/0.1582, allocations: 1.045 MB / 479.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1584, allocations: 47.97 kB / 479.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1584, allocations: 0 / 479.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.1585, allocations: 27.92 kB / 479.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.159, allocations: 32.55 kB / 479.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.1625, allocations: 3.235 MB / 483 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.163, allocations: 0.8276 MB / 483.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.1631, allocations: 15.92 kB / 483.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1632, allocations: 95.41 kB / 484 MB, free: 15.33 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1632, allocations: 0 / 484 MB, free: 15.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.1862, allocations: 5.828 MB / 489.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.637, allocations: 7.188 kB / 489.8 MB, free: 9.57 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches