Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001437/0.001437, allocations: 121 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.001448/0.001448, allocations: 213.5 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.576/1.576, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2191/0.2191, allocations: 44.9 MB / 355.8 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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",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.002648/0.002648, allocations: 63.89 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.152, allocations: 65.43 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003597/0.1556, allocations: 1.706 MB / 0.5541 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1568, allocations: 0.5884 MB / 0.5547 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1569, allocations: 4 kB / 0.5547 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.1571, allocations: 35.72 kB / 0.5547 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.1575, allocations: 83.55 kB / 0.5548 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.1581, allocations: 186.4 kB / 0.555 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.1583, allocations: 95.73 kB / 0.5551 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1584, allocations: 16.22 kB / 0.5551 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1586, allocations: 43.78 kB / 0.5551 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1587, allocations: 47.77 kB / 0.5552 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1587, allocations: 8 kB / 0.5552 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.1589, allocations: 107.9 kB / 0.5553 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.159, allocations: 19.92 kB / 0.5553 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.1591, allocations: 39.73 kB / 0.5554 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.1595, allocations: 175.4 kB / 0.5555 GB, free: 6.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1595, allocations: 3.938 kB / 0.5555 GB, free: 6.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1595, allocations: 0 / 0.5555 GB, free: 6.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1595, allocations: 0 / 0.5555 GB, free: 6.969 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.0008343/0.1603, allocations: 454.5 kB / 0.556 GB, free: 6.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1604, allocations: 12.03 kB / 0.556 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.118e-05/0.1604, allocations: 8.172 kB / 0.556 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.1604, allocations: 38.73 kB / 0.556 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.1605, allocations: 8.891 kB / 0.556 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1608, allocations: 200.2 kB / 0.5562 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.1608, allocations: 384 / 0.5562 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.1608, allocations: 8.125 kB / 0.5562 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.1611, allocations: 95.36 kB / 0.5563 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1611, allocations: 3.938 kB / 0.5563 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1612, allocations: 3.984 kB / 0.5563 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1612, allocations: 4 kB / 0.5563 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.1615, allocations: 71.92 kB / 0.5564 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.1622, allocations: 344.7 kB / 0.5567 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1625, allocations: 82.45 kB / 0.5568 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.1627, allocations: 52.94 kB / 0.5569 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.1628, allocations: 4 kB / 0.5569 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1628, allocations: 30.56 kB / 0.5569 GB, free: 5.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 3.697e-06/0.1628, allocations: 3.984 kB / 0.5569 GB, free: 5.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001856/0.1647, allocations: 409 kB / 0.5573 GB, free: 4.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.1647, allocations: 81.05 kB / 0.5574 GB, free: 4.891 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.165, allocations: 170.8 kB / 0.5575 GB, free: 4.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.165, allocations: 25.7 kB / 0.5575 GB, free: 4.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.1651, allocations: 108 kB / 0.5576 GB, free: 4.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.1651, allocations: 27.8 kB / 0.5577 GB, free: 4.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.1652, allocations: 25.66 kB / 0.5577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1654, allocations: 334.8 kB / 0.558 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.1657, allocations: 79.91 kB / 0.5581 GB, free: 4.098 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.1661, allocations: 85.64 kB / 0.5582 GB, free: 4.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.1667, allocations: 176.9 kB / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1667, allocations: 0 / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007057/0.1674, allocations: 209.4 kB / 0.5585 GB, free: 3.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1674, allocations: 4 kB / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1674, allocations: 0 / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.1675, allocations: 4 kB / 0.5586 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.1677, allocations: 43.89 kB / 0.5586 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1677, allocations: 3.938 kB / 0.5586 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.1679, allocations: 39.84 kB / 0.5586 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1679, allocations: 0 / 0.5586 GB, free: 3.527 MB / 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 (10): * Single equations (assignments): 10 * 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.0001233/0.168, allocations: 121.8 kB / 0.5588 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.1681, allocations: 7.953 kB / 0.5588 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007542/0.1688, allocations: 226.2 kB / 0.559 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1688, allocations: 0 / 0.559 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1688, allocations: 3.938 kB / 0.559 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1688, allocations: 3.984 kB / 0.559 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.1699, allocations: 0.514 MB / 0.5595 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.1699, allocations: 8.203 kB / 0.5595 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.1701, allocations: 39.91 kB / 0.5595 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.1701, allocations: 4 kB / 0.5595 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1701, allocations: 7.938 kB / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1701, allocations: 0 / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1701, allocations: 384 / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.1709, allocations: 307.2 kB / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.171, allocations: 92.95 kB / 0.5599 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.171, allocations: 7.984 kB / 0.5599 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.1712, allocations: 23.97 kB / 0.56 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.1712, allocations: 11.98 kB / 0.56 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1713, allocations: 8 kB / 0.56 GB, free: 2.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1714, allocations: 127.4 kB / 0.5601 GB, free: 1.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1714, allocations: 0 / 0.5601 GB, free: 1.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.1717, allocations: 51.86 kB / 0.5601 GB, free: 1.875 MB / 414.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 (9): * Single equations (assignments): 9 * 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.002834/0.1745, allocations: 1.234 MB / 0.5613 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007112/0.1752, allocations: 171.8 kB / 0.5615 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1752, allocations: 0 / 0.5615 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.1756, allocations: 87.84 kB / 0.5616 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.176, allocations: 34.09 kB / 0.5616 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.1795, allocations: 1.929 MB / 0.5635 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.1799, allocations: 0.708 MB / 0.5642 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.18, allocations: 28.62 kB / 0.5642 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.1801, allocations: 43.36 kB / 0.5643 GB, free: 13.7 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1801, allocations: 0 / 0.5643 GB, free: 13.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.2025, allocations: 4.464 MB / 0.5686 GB, free: 9.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.624/8.827, allocations: 6.812 kB / 0.5686 GB, free: 9.258 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.100834832992405]