Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001868/0.001868, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.002173/0.002173, allocations: 219 kB / 21.46 MB, free: 1.586 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.589/1.589, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2404/0.2404, allocations: 44.9 MB / 355.8 MB, free: 12.3 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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.00198/0.00198, allocations: 65.94 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1577, allocations: 65.41 MB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003259/0.1609, allocations: 1.609 MB / 0.554 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1629, allocations: 1.175 MB / 0.5552 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.163, allocations: 4 kB / 0.5552 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.1632, allocations: 35.77 kB / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.1635, allocations: 79.62 kB / 0.5553 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1638, allocations: 107.7 kB / 0.5554 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.164, allocations: 75.75 kB / 0.5555 GB, free: 7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1641, allocations: 11.94 kB / 0.5555 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.202e-05/0.1642, allocations: 27.86 kB / 0.5555 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1643, allocations: 31.84 kB / 0.5555 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1643, allocations: 4 kB / 0.5555 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.1645, allocations: 95.92 kB / 0.5556 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.1646, allocations: 15.92 kB / 0.5556 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.1646, allocations: 27.81 kB / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.1649, allocations: 143.5 kB / 0.5558 GB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1649, allocations: 4 kB / 0.5558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1649, allocations: 3.938 kB / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1649, allocations: 0 / 0.5558 GB, free: 6.641 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.0006093/0.1655, allocations: 398.8 kB / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1656, allocations: 8.031 kB / 0.5562 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.433e-05/0.1656, allocations: 4.188 kB / 0.5562 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.1656, allocations: 34.75 kB / 0.5562 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.1657, allocations: 16.88 kB / 0.5562 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1659, allocations: 196.1 kB / 0.5564 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-06/0.1659, allocations: 384 / 0.5564 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.166, allocations: 12.12 kB / 0.5564 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1661, allocations: 55.41 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1661, allocations: 0 / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1661, allocations: 0 / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1661, allocations: 0 / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1662, allocations: 31.97 kB / 0.5565 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.1668, allocations: 292.8 kB / 0.5568 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.1671, allocations: 38.56 kB / 0.5568 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.694e-05/0.1671, allocations: 20.94 kB / 0.5569 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1672, allocations: 3.984 kB / 0.5569 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.1672, allocations: 34.56 kB / 0.5569 GB, free: 5.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.1672, allocations: 0 / 0.5569 GB, free: 5.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006944/0.1679, allocations: 157.3 kB / 0.5571 GB, free: 5.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.168, allocations: 77.11 kB / 0.5571 GB, free: 5.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1682, allocations: 147.8 kB / 0.5573 GB, free: 4.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1682, allocations: 29.7 kB / 0.5573 GB, free: 4.898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.1683, allocations: 100.1 kB / 0.5574 GB, free: 4.797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.1683, allocations: 15.86 kB / 0.5574 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.1683, allocations: 21.7 kB / 0.5574 GB, free: 4.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1685, allocations: 318.8 kB / 0.5577 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.1686, allocations: 19.98 kB / 0.5578 GB, free: 4.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.24e-05/0.1687, allocations: 45.75 kB / 0.5578 GB, free: 4.363 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1688, allocations: 48.86 kB / 0.5578 GB, free: 4.312 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1688, allocations: 0 / 0.5578 GB, free: 4.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002282/0.1691, allocations: 89.61 kB / 0.5579 GB, free: 4.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1691, allocations: 4 kB / 0.5579 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1691, allocations: 0 / 0.5579 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1691, allocations: 3.938 kB / 0.5579 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.1692, allocations: 19.92 kB / 0.558 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1692, allocations: 4 kB / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.1692, allocations: 11.88 kB / 0.558 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1693, allocations: 4 kB / 0.558 GB, free: 4.172 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 (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.0001235/0.1694, allocations: 116 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.1694, allocations: 15.88 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.1697, allocations: 97.95 kB / 0.5582 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1697, allocations: 0 / 0.5582 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1697, allocations: 4 kB / 0.5582 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1697, allocations: 3.938 kB / 0.5582 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.1703, allocations: 354.5 kB / 0.5585 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1703, allocations: 4.312 kB / 0.5585 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.1704, allocations: 11.98 kB / 0.5586 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1704, allocations: 0 / 0.5586 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1704, allocations: 7.938 kB / 0.5586 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1704, allocations: 0 / 0.5586 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1704, allocations: 8 kB / 0.5586 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.1707, allocations: 183.4 kB / 0.5587 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.1707, allocations: 85.06 kB / 0.5588 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.1708, allocations: 7.922 kB / 0.5588 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.1709, allocations: 4 kB / 0.5588 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.1709, allocations: 4 kB / 0.5588 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.1709, allocations: 8 kB / 0.5588 GB, free: 3.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.171, allocations: 117.4 kB / 0.559 GB, free: 3.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.171, allocations: 0 / 0.559 GB, free: 3.055 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1714, allocations: 39.86 kB / 0.559 GB, free: 3.016 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 (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.002423/0.1738, allocations: 1.106 MB / 0.5601 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.174, allocations: 51.95 kB / 0.5601 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.174, allocations: 0 / 0.5601 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.1741, allocations: 27.92 kB / 0.5602 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1745, allocations: 17.86 kB / 0.5602 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.1765, allocations: 1.45 MB / 0.5616 GB, free: 464 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1769, allocations: 0.6963 MB / 0.5623 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.85e-05/0.177, allocations: 23.83 kB / 0.5623 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.177, allocations: 27.42 kB / 0.5623 GB, free: 15.68 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.177, allocations: 0 / 0.5623 GB, free: 15.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.1998, allocations: 3.31 MB / 0.5655 GB, free: 12.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/8.602, allocations: 0.9375 kB / 0.5655 GB, free: 12.39 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.956230506009888]