Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.002034/0.002034, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002901/0.002901, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.527/1.527, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.234/0.234, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 0.491 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1212, allocations: 65.99 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00315/0.1244, allocations: 1.615 MB / 0.557 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1254, allocations: 0.5432 MB / 0.5575 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.1254, allocations: 0 / 0.5575 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.126, allocations: 447.1 kB / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005012/0.1265, allocations: 299.3 kB / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.1269, allocations: 118.7 kB / 0.5583 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.1271, allocations: 171.6 kB / 0.5585 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.1272, allocations: 23.91 kB / 0.5585 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1274, allocations: 107.8 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.1276, allocations: 247.5 kB / 0.5589 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1277, allocations: 3.938 kB / 0.5589 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.865e-05/0.1277, allocations: 24 kB / 0.5589 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1278, allocations: 87.62 kB / 0.559 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.867e-05/0.1279, allocations: 103 kB / 0.5591 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1282, allocations: 258.6 kB / 0.5593 GB, free: 1.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1282, allocations: 0 / 0.5593 GB, free: 1.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1282, allocations: 0 / 0.5593 GB, free: 1.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1283, allocations: 0 / 0.5593 GB, free: 1.805 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008372/0.1291, allocations: 0.6607 MB / 0.56 GB, free: 1.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1291, allocations: 12.03 kB / 0.56 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1292, allocations: 34.75 kB / 0.56 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.1292, allocations: 44.66 kB / 0.56 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1296, allocations: 304.5 kB / 0.5603 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1296, allocations: 8.375 kB / 0.5603 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1296, allocations: 384 / 0.5603 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1298, allocations: 57.61 kB / 0.5604 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1298, allocations: 3.938 kB / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1298, allocations: 4 kB / 0.5604 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1298, allocations: 4 kB / 0.5604 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1299, allocations: 27.97 kB / 0.5604 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.1304, allocations: 380.8 kB / 0.5608 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1305, allocations: 38.5 kB / 0.5608 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.1306, allocations: 24.94 kB / 0.5609 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1306, allocations: 3.984 kB / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1307, allocations: 30.56 kB / 0.5609 GB, free: 8 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1307, allocations: 4 kB / 0.5609 GB, free: 4 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003883/0.1311, allocations: 121.3 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.1311, allocations: 51.41 kB / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009294/0.132, allocations: 0.8699 MB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.132, allocations: 25.7 kB / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.1322, allocations: 224 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.1322, allocations: 7.891 kB / 0.5622 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.1323, allocations: 17.72 kB / 0.5622 GB, free: 14.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1325, allocations: 366.7 kB / 0.5625 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.726e-05/0.1325, allocations: 11.98 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.1326, allocations: 19.98 kB / 0.5626 GB, free: 14.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1327, allocations: 32.84 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1327, allocations: 0 / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002249/0.133, allocations: 121.6 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.133, allocations: 5.719 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.133, allocations: 3.984 kB / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.133, allocations: 0 / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.1331, allocations: 11.98 kB / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1331, allocations: 0 / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.1332, allocations: 7.953 kB / 0.5627 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1332, allocations: 0 / 0.5627 GB, free: 14.06 MB / 430.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.0002091/0.1334, allocations: 223.9 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.1334, allocations: 43.72 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.1337, allocations: 121.1 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1337, allocations: 7.922 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1337, allocations: 0 / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1337, allocations: 0 / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.134, allocations: 297.4 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.134, allocations: 0 / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.1341, allocations: 15.98 kB / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1341, allocations: 0 / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1341, allocations: 0 / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1341, allocations: 0 / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1341, allocations: 0 / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.1344, allocations: 207.2 kB / 0.5636 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.1345, allocations: 108.8 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1345, allocations: 4 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1346, allocations: 11.98 kB / 0.5637 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.1346, allocations: 4 kB / 0.5637 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1347, allocations: 4 kB / 0.5637 GB, free: 12.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000679/0.1353, allocations: 0.655 MB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1353, allocations: 0 / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1356, allocations: 20 kB / 0.5644 GB, free: 12.26 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 (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.001806/0.1374, allocations: 0.9906 MB / 0.5654 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1376, allocations: 43.94 kB / 0.5654 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1376, allocations: 0 / 0.5654 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.1377, allocations: 23.92 kB / 0.5654 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.1381, allocations: 30.23 kB / 0.5655 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.1419, allocations: 3.174 MB / 0.5685 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.1424, allocations: 0.826 MB / 0.5694 GB, free: 7.168 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.1425, allocations: 11.75 kB / 0.5694 GB, free: 7.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.1426, allocations: 111.4 kB / 0.5695 GB, free: 7.051 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1426, allocations: 0 / 0.5695 GB, free: 7.051 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.1709, allocations: 5.796 MB / 0.5751 GB, free: 1.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.84/9.011, allocations: 11.38 kB / 0.5751 GB, free: 1.293 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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: 12.1262614489533]