Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001389/0.001389, allocations: 124.5 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.001949/0.001949, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.49/1.49, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2399/0.2399, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 63.89 kB / 0.491 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1213, allocations: 65.99 MB / 0.5554 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003926/0.1253, allocations: 1.65 MB / 0.557 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1265, allocations: 0.5922 MB / 0.5576 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.1266, allocations: 0 / 0.5576 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006384/0.1272, allocations: 451.1 kB / 0.558 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005437/0.1278, allocations: 291.3 kB / 0.5583 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.1283, allocations: 178.6 kB / 0.5585 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.1286, allocations: 175.6 kB / 0.5586 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1288, allocations: 15.98 kB / 0.5586 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.1289, allocations: 111.7 kB / 0.5588 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.1293, allocations: 251.5 kB / 0.559 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.1293, allocations: 7.984 kB / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1295, allocations: 31.98 kB / 0.559 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1296, allocations: 83.69 kB / 0.5591 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1297, allocations: 102.9 kB / 0.5592 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.1301, allocations: 266.6 kB / 0.5595 GB, free: 1.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1301, allocations: 4 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1301, allocations: 4 kB / 0.5595 GB, free: 1.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1301, allocations: 0 / 0.5595 GB, free: 1.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008478/0.1309, allocations: 0.6723 MB / 0.5601 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.131, allocations: 8.031 kB / 0.5601 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.131, allocations: 30.75 kB / 0.5602 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.1311, allocations: 52.62 kB / 0.5602 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1314, allocations: 304.6 kB / 0.5605 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1314, allocations: 4.375 kB / 0.5605 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.1314, allocations: 8.312 kB / 0.5605 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1316, allocations: 61.61 kB / 0.5606 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1316, allocations: 4 kB / 0.5606 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1316, allocations: 0 / 0.5606 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1316, allocations: 0 / 0.5606 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1317, allocations: 35.91 kB / 0.5606 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.1323, allocations: 408.8 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.1325, allocations: 50.5 kB / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.1326, allocations: 20.94 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1326, allocations: 0 / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1326, allocations: 30.56 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1326, allocations: 0 / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006758/0.1333, allocations: 244.7 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1333, allocations: 55.41 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009342/0.1343, allocations: 0.8776 MB / 0.5622 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1343, allocations: 29.69 kB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.1345, allocations: 220.1 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1345, allocations: 23.8 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.1346, allocations: 17.7 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.1348, allocations: 362.8 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.1349, allocations: 23.98 kB / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.1349, allocations: 23.97 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1351, allocations: 48.83 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1351, allocations: 4 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002588/0.1353, allocations: 121.3 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1354, allocations: 11.98 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1354, allocations: 3.938 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1354, allocations: 4 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.1355, allocations: 8 kB / 0.5631 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1355, allocations: 0 / 0.5631 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.1355, allocations: 15.92 kB / 0.5631 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1355, allocations: 0 / 0.5631 GB, free: 13.62 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 (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.0002224/0.1358, allocations: 216 kB / 0.5633 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.1358, allocations: 51.67 kB / 0.5634 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.1361, allocations: 145.1 kB / 0.5635 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1361, allocations: 0 / 0.5635 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1362, allocations: 320 / 0.5635 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1362, allocations: 3.938 kB / 0.5635 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006394/0.1368, allocations: 470.5 kB / 0.564 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1368, allocations: 4 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-05/0.1369, allocations: 19.92 kB / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1369, allocations: 0 / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1369, allocations: 7.875 kB / 0.564 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1369, allocations: 0 / 0.564 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1369, allocations: 0 / 0.564 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.1372, allocations: 219.2 kB / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/0.1373, allocations: 117.1 kB / 0.5643 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.1373, allocations: 7.938 kB / 0.5643 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.1374, allocations: 0 / 0.5643 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.1375, allocations: 11.97 kB / 0.5643 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1375, allocations: 4 kB / 0.5643 GB, free: 12.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006974/0.1382, allocations: 0.6628 MB / 0.565 GB, free: 11.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1382, allocations: 0 / 0.565 GB, free: 11.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1384, allocations: 27.89 kB / 0.565 GB, free: 11.57 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 (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.002034/0.1405, allocations: 1.07 MB / 0.5661 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.1407, allocations: 47.97 kB / 0.5661 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1407, allocations: 0 / 0.5661 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/0.1408, allocations: 35.91 kB / 0.5661 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.1413, allocations: 22.31 kB / 0.5662 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.1455, allocations: 3.271 MB / 0.5694 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.146, allocations: 0.826 MB / 0.5702 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.998e-05/0.1461, allocations: 24.64 kB / 0.5702 GB, free: 6.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.1463, allocations: 115.4 kB / 0.5703 GB, free: 6.176 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1463, allocations: 0 / 0.5703 GB, free: 6.176 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.1759, allocations: 6.144 MB / 0.5763 GB, free: 80 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.892/9.068, allocations: 7.234 kB / 0.5763 GB, free: 76 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.200812133960426]