Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001701/0.001701, allocations: 123.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.002293/0.002293, allocations: 200.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.493/1.493, 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.33 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.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 63.91 kB / 0.491 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.158, allocations: 65.99 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003616/0.1616, allocations: 1.655 MB / 0.557 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.1638, allocations: 1.214 MB / 0.5582 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.053e-05/0.1639, allocations: 3.938 kB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.1641, allocations: 27.84 kB / 0.5582 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.1644, allocations: 87.56 kB / 0.5583 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.1649, allocations: 179 kB / 0.5585 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1651, allocations: 71.83 kB / 0.5586 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1652, allocations: 16 kB / 0.5586 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.1653, allocations: 35.78 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1655, allocations: 35.84 kB / 0.5586 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1655, allocations: 8 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.1657, allocations: 107.9 kB / 0.5588 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.673e-05/0.1658, allocations: 23.91 kB / 0.5588 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.1659, allocations: 31.8 kB / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.1662, allocations: 147.5 kB / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1662, allocations: 0 / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1662, allocations: 0 / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1662, allocations: 4 kB / 0.5589 GB, free: 2.188 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.0006367/0.1668, allocations: 426.6 kB / 0.5594 GB, free: 1.723 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1669, allocations: 12.03 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.1669, allocations: 38.69 kB / 0.5594 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.1669, allocations: 8.891 kB / 0.5594 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1672, allocations: 200.2 kB / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1672, allocations: 8.312 kB / 0.5596 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1672, allocations: 4.375 kB / 0.5596 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.1675, allocations: 79.33 kB / 0.5597 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1675, allocations: 3.984 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1675, allocations: 0 / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1675, allocations: 0 / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.1677, allocations: 51.88 kB / 0.5597 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.1682, allocations: 316.8 kB / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1683, allocations: 38.56 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.456e-05/0.1684, allocations: 28.92 kB / 0.5601 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1684, allocations: 4 kB / 0.5601 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1684, allocations: 34.5 kB / 0.5601 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1684, allocations: 4 kB / 0.5602 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000902/0.1694, allocations: 229.3 kB / 0.5604 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1694, allocations: 77.11 kB / 0.5604 GB, free: 464 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1696, allocations: 164.5 kB / 0.5606 GB, free: 292 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1696, allocations: 25.7 kB / 0.5606 GB, free: 260 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.1697, allocations: 108 kB / 0.5607 GB, free: 148 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.1697, allocations: 27.86 kB / 0.5608 GB, free: 120 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.1698, allocations: 25.7 kB / 0.5608 GB, free: 88 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1699, allocations: 314.8 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1701, allocations: 39.95 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1702, allocations: 57.75 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.1705, allocations: 84.8 kB / 0.5613 GB, free: 15.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1705, allocations: 0 / 0.5613 GB, free: 15.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003422/0.1708, allocations: 129.5 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1708, allocations: 4 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1708, allocations: 0 / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1708, allocations: 4 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.171, allocations: 19.97 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.171, allocations: 4 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.1711, allocations: 11.94 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1711, allocations: 7.984 kB / 0.5614 GB, free: 15.4 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 (7): * Single equations (assignments): 7 * 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.0001122/0.1712, allocations: 120 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.1712, allocations: 11.91 kB / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.1716, allocations: 142.2 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1716, allocations: 4 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1716, allocations: 0 / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1717, allocations: 3.938 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000648/0.1723, allocations: 414.5 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1723, allocations: 0 / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.1724, allocations: 27.92 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1724, allocations: 3.938 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1724, allocations: 3.938 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1724, allocations: 0 / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1724, allocations: 7.984 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.1728, allocations: 227.8 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.1729, allocations: 85.06 kB / 0.5624 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.1729, allocations: 7.938 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.173, allocations: 11.92 kB / 0.5624 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1731, allocations: 7.984 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1731, allocations: 8 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1732, allocations: 120.8 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1732, allocations: 0 / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.1735, allocations: 43.81 kB / 0.5626 GB, free: 14.07 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 (7): * Single equations (assignments): 7 * 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.002471/0.176, allocations: 1.154 MB / 0.5637 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.1763, allocations: 87.86 kB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1763, allocations: 0 / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1765, allocations: 39.97 kB / 0.5639 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1768, allocations: 23.92 kB / 0.5639 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.1792, allocations: 1.659 MB / 0.5655 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1796, allocations: 0.7078 MB / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.898e-05/0.1797, allocations: 28.39 kB / 0.5662 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.1797, allocations: 31.42 kB / 0.5663 GB, free: 10.4 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1797, allocations: 0 / 0.5663 GB, free: 10.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.2085, allocations: 3.616 MB / 0.5698 GB, free: 6.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.501, allocations: 19.23 kB / 0.5698 GB, free: 6.773 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.624577908078209]