Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 209.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 44.9 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 68.08 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1328, allocations: 65.42 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003407/0.1362, allocations: 1.654 MB / 0.5534 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.1371, allocations: 0.6958 MB / 0.5541 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.1371, allocations: 0 / 0.5541 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.1374, allocations: 35.77 kB / 0.5541 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.1375, allocations: 35.84 kB / 0.5541 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.1375, allocations: 0 / 0.5541 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1377, allocations: 31.89 kB / 0.5542 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.1377, allocations: 4.281 kB / 0.5542 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.206e-05/0.1377, allocations: 15.92 kB / 0.5542 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.1378, allocations: 19.92 kB / 0.5542 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.1378, allocations: 0 / 0.5542 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-05/0.1379, allocations: 11.94 kB / 0.5542 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.1379, allocations: 19.92 kB / 0.5542 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.791e-05/0.138, allocations: 19.81 kB / 0.5542 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1382, allocations: 67.67 kB / 0.5543 GB, free: 7.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1382, allocations: 3.938 kB / 0.5543 GB, free: 7.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1382, allocations: 4 kB / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1382, allocations: 0 / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000441/0.1386, allocations: 367.2 kB / 0.5547 GB, free: 7.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1386, allocations: 8.031 kB / 0.5547 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.1387, allocations: 38.73 kB / 0.5547 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.1387, allocations: 12.89 kB / 0.5547 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.1389, allocations: 188.2 kB / 0.5549 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.1389, allocations: 384 / 0.5549 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1389, allocations: 384 / 0.5549 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1391, allocations: 123.3 kB / 0.555 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1391, allocations: 7.938 kB / 0.555 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1391, allocations: 0 / 0.555 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/0.1392, allocations: 27.97 kB / 0.5551 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.1393, allocations: 47.84 kB / 0.5551 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.1401, allocations: 0.8829 MB / 0.556 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1402, allocations: 173.2 kB / 0.5561 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.1402, allocations: 88.08 kB / 0.5562 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1403, allocations: 75.28 kB / 0.5563 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.1403, allocations: 105.8 kB / 0.5564 GB, free: 5.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1403, allocations: 0 / 0.5564 GB, free: 5.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.683e-05/0.1404, allocations: 45.55 kB / 0.5564 GB, free: 5.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.1405, allocations: 126.7 kB / 0.5565 GB, free: 4.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1407, allocations: 184.4 kB / 0.5567 GB, free: 4.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1407, allocations: 25.7 kB / 0.5567 GB, free: 4.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.1408, allocations: 151.5 kB / 0.5569 GB, free: 4.609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.468e-06/0.1408, allocations: 11.98 kB / 0.5569 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.1408, allocations: 45.66 kB / 0.5569 GB, free: 4.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.141, allocations: 318.8 kB / 0.5572 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.141, allocations: 31.92 kB / 0.5573 GB, free: 4.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.1412, allocations: 154.7 kB / 0.5574 GB, free: 3.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.1414, allocations: 208.9 kB / 0.5576 GB, free: 3.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1414, allocations: 4 kB / 0.5576 GB, free: 3.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003219/0.1417, allocations: 201.2 kB / 0.5578 GB, free: 3.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1417, allocations: 15.88 kB / 0.5578 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1417, allocations: 4 kB / 0.5578 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.1418, allocations: 4 kB / 0.5578 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1419, allocations: 43.92 kB / 0.5579 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.1419, allocations: 4 kB / 0.5579 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.142, allocations: 16.39 kB / 0.5579 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.1421, allocations: 20 kB / 0.5579 GB, free: 3.406 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001522/0.1422, allocations: 213.9 kB / 0.5581 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.1423, allocations: 116.9 kB / 0.5582 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.1424, allocations: 124.6 kB / 0.5584 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-05/0.1424, allocations: 176.3 kB / 0.5585 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.508e-05/0.1425, allocations: 188.2 kB / 0.5587 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-05/0.1426, allocations: 176.3 kB / 0.5589 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.1428, allocations: 429.1 kB / 0.5593 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-05/0.1429, allocations: 104.9 kB / 0.5594 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.1429, allocations: 101 kB / 0.5595 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.114e-05/0.143, allocations: 188.2 kB / 0.5597 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.1431, allocations: 188.3 kB / 0.5598 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.227e-05/0.1432, allocations: 180.2 kB / 0.56 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.357e-05/0.1432, allocations: 176.3 kB / 0.5602 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1434, allocations: 327.6 kB / 0.5605 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.1435, allocations: 190 kB / 0.5607 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.546e-05/0.1436, allocations: 180.2 kB / 0.5608 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.1437, allocations: 101 kB / 0.5609 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.1438, allocations: 176.3 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.1439, allocations: 112.9 kB / 0.5612 GB, free: 15.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.144, allocations: 131.2 kB / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.144, allocations: 0 / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.1443, allocations: 16 kB / 0.5614 GB, free: 15.66 MB / 430.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 (0): * Single equations (assignments): 0 * 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.0009742/0.1453, allocations: 0.9011 MB / 0.5622 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.1455, allocations: 80.16 kB / 0.5623 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1455, allocations: 0 / 0.5623 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.741e-06/0.1455, allocations: 7.938 kB / 0.5623 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1458, allocations: 456.8 kB / 0.5628 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.1477, allocations: 1.881 MB / 0.5646 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.148, allocations: 0.6967 MB / 0.5653 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.1482, allocations: 53.02 kB / 0.5653 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1483, allocations: 27.42 kB / 0.5654 GB, free: 11.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1483, allocations: 0 / 0.5654 GB, free: 11.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.1735, allocations: 2.136 MB / 0.5674 GB, free: 9.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/8.563, allocations: 7.266 kB / 0.5674 GB, free: 9.273 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.84369682194665]