Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001477/0.001477, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001618/0.001618, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.533/1.533, allocations: 230.6 MB / 254.8 MB, free: 15.13 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.2406/0.2406, allocations: 46.92 MB / 357.8 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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 67.91 kB / 0.4916 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1423, allocations: 65.98 MB / 0.5561 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003128/0.1454, allocations: 1.628 MB / 0.5577 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1464, allocations: 0.5416 MB / 0.5582 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.1465, allocations: 0 / 0.5582 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.1468, allocations: 75.7 kB / 0.5583 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.1471, allocations: 103.6 kB / 0.5584 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1474, allocations: 95.69 kB / 0.5585 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1476, allocations: 83.75 kB / 0.5585 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1477, allocations: 19.98 kB / 0.5586 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.207e-05/0.1478, allocations: 35.84 kB / 0.5586 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1479, allocations: 63.73 kB / 0.5587 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1479, allocations: 4 kB / 0.5587 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.148, allocations: 43.98 kB / 0.5587 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.1481, allocations: 19.92 kB / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.1481, allocations: 35.73 kB / 0.5588 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1483, allocations: 99.58 kB / 0.5589 GB, free: 2.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.1483, allocations: 0 / 0.5589 GB, free: 2.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1483, allocations: 0 / 0.5589 GB, free: 2.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1483, allocations: 4 kB / 0.5589 GB, free: 2.984 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.0005919/0.1489, allocations: 426.6 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1489, allocations: 8.031 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.602e-05/0.149, allocations: 192 / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.149, allocations: 38.75 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.149, allocations: 12.84 kB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1493, allocations: 215.1 kB / 0.5595 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-06/0.1493, allocations: 384 / 0.5595 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1493, allocations: 12.12 kB / 0.5595 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1494, allocations: 53.67 kB / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1495, allocations: 0 / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1495, allocations: 0 / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1495, allocations: 0 / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.936e-05/0.1496, allocations: 31.91 kB / 0.5596 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.15, allocations: 292.8 kB / 0.5599 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1501, allocations: 42.56 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.1501, allocations: 12.86 kB / 0.5599 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1502, allocations: 12.02 kB / 0.56 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1502, allocations: 30.56 kB / 0.56 GB, free: 1.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.1502, allocations: 0 / 0.56 GB, free: 1.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009416/0.1511, allocations: 225.3 kB / 0.5602 GB, free: 1.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1512, allocations: 55.34 kB / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.1514, allocations: 218.2 kB / 0.5605 GB, free: 1.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1515, allocations: 29.7 kB / 0.5605 GB, free: 1.098 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.1515, allocations: 112 kB / 0.5606 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.1516, allocations: 35.73 kB / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.1516, allocations: 17.72 kB / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1518, allocations: 322.8 kB / 0.561 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.1519, allocations: 27.98 kB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.1519, allocations: 28.03 kB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1521, allocations: 60.78 kB / 0.5611 GB, free: 496 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1521, allocations: 4 kB / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002236/0.1523, allocations: 101.6 kB / 0.5612 GB, free: 384 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1523, allocations: 4 kB / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1524, allocations: 0 / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1524, allocations: 0 / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1525, allocations: 23.98 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1525, allocations: 3.938 kB / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.1525, allocations: 7.984 kB / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1525, allocations: 4 kB / 0.5612 GB, free: 340 kB / 414.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 (8): * Single equations (assignments): 8 * 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.0001126/0.1527, allocations: 132 kB / 0.5613 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.1527, allocations: 11.91 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.153, allocations: 119 kB / 0.5615 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.153, allocations: 0 / 0.5615 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.153, allocations: 3.938 kB / 0.5615 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.153, allocations: 4.406 kB / 0.5615 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.1536, allocations: 411.3 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1536, allocations: 3.938 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.469e-05/0.1537, allocations: 19.98 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1537, allocations: 3.938 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1537, allocations: 0 / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1537, allocations: 0 / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1537, allocations: 7.984 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.154, allocations: 208.7 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.154, allocations: 88.95 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1541, allocations: 4 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.1541, allocations: 4 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1542, allocations: 3.984 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1542, allocations: 8 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.1543, allocations: 172.2 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1543, allocations: 0 / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1546, allocations: 27.86 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002264/0.1569, allocations: 1.088 MB / 0.5635 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1571, allocations: 63.89 kB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1571, allocations: 4 kB / 0.5635 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1572, allocations: 35.91 kB / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1576, allocations: 12 kB / 0.5636 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.1598, allocations: 1.68 MB / 0.5652 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1601, allocations: 0.708 MB / 0.5659 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.1602, allocations: 16.97 kB / 0.5659 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.1603, allocations: 31.42 kB / 0.5659 GB, free: 11.42 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1603, allocations: 0 / 0.5659 GB, free: 11.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.181, allocations: 3.172 MB / 0.569 GB, free: 8.316 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.657/8.838, allocations: 15.98 kB / 0.5691 GB, free: 8.301 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.1591430780245]