Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008555/0.0008555, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008581/0.0008581, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9013/0.9013, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2558/0.2558, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 442.2 MB, free: 1.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.866e-05, allocations: 6.219 kB / 442.2 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.1577/0.1577, allocations: 1.775 MB / 444 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1588, allocations: 1.053 MB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.1589, allocations: 6.344 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.1592, allocations: 313.8 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.1595, allocations: 260.8 kB / 445.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.1597, allocations: 112.2 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1599, allocations: 269.4 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.1599, allocations: 7.625 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.16, allocations: 154.4 kB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1602, allocations: 201.4 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1602, allocations: 5.688 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.618e-05/0.1603, allocations: 55.91 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.1604, allocations: 141.8 kB / 446.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.1604, allocations: 73.34 kB / 446.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1607, allocations: 361.8 kB / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1607, allocations: 1.156 kB / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.06e-06/0.1607, allocations: 0 / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1607, allocations: 0 / 447 MB, free: 42.62 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005548/0.1612, allocations: 0.6815 MB / 447.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1613, allocations: 9.906 kB / 447.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.644e-05/0.1613, allocations: 37.08 kB / 447.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.1614, allocations: 52.83 kB / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.1617, allocations: 392 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1617, allocations: 7 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1617, allocations: 4.094 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1619, allocations: 89.25 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1619, allocations: 192 / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1619, allocations: 4.125 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1619, allocations: 0 / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.162, allocations: 41.53 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1622, allocations: 328.9 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.1623, allocations: 110.4 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.1624, allocations: 35.42 kB / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.1624, allocations: 4.469 kB / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.1625, allocations: 116.7 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1625, allocations: 0 / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002824/0.1628, allocations: 208.7 kB / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.1629, allocations: 85.05 kB / 449.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.1634, allocations: 1.063 MB / 450.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1634, allocations: 28.55 kB / 450.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.1635, allocations: 236.3 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.1636, allocations: 40.5 kB / 450.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1636, allocations: 26.41 kB / 450.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.1637, allocations: 370.5 kB / 450.9 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.1637, allocations: 29.31 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-05/0.1638, allocations: 59.36 kB / 451 MB, free: 40.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.8e-05/0.1639, allocations: 97.23 kB / 451.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1639, allocations: 0 / 451.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001572/0.164, allocations: 178.2 kB / 451.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.164, allocations: 5.875 kB / 451.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.164, allocations: 3.938 kB / 451.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.164, allocations: 2.812 kB / 451.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.1641, allocations: 24.69 kB / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1641, allocations: 0 / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.1642, allocations: 16.86 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1642, allocations: 6.969 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001176/0.1643, allocations: 224.1 kB / 451.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.1643, allocations: 53.97 kB / 451.6 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.1646, allocations: 207.8 kB / 451.8 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.1646, allocations: 3.656 kB / 451.8 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1646, allocations: 6.844 kB / 451.8 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1646, allocations: 3.328 kB / 451.8 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.1647, allocations: 298.7 kB / 452.1 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1647, allocations: 4 kB / 452.1 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.1648, allocations: 19.38 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1648, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1648, allocations: 10.17 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1648, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1648, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.1649, allocations: 217.8 kB / 452.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.165, allocations: 66.12 kB / 452.4 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.165, allocations: 10.84 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.165, allocations: 6.938 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1651, allocations: 9.688 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.1651, allocations: 9.688 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004202/0.1655, allocations: 0.7919 MB / 453.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1655, allocations: 0 / 453.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.1657, allocations: 50.66 kB / 453.3 MB, free: 39.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008678/0.1666, allocations: 1.08 MB / 454.4 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.1667, allocations: 90.27 kB / 454.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1667, allocations: 6.812 kB / 454.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.1668, allocations: 41.89 kB / 454.5 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.167, allocations: 66.69 kB / 454.6 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.1702, allocations: 4.627 MB / 459.2 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.1703, allocations: 245.2 kB / 459.4 MB, free: 36.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.713e-05/0.1704, allocations: 54.66 kB / 459.5 MB, free: 36.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.1705, allocations: 154.8 kB / 459.6 MB, free: 35.91 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1705, allocations: 0 / 459.6 MB, free: 35.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.19, allocations: 10.15 MB / 469.8 MB, free: 33.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/7.001, allocations: 3.094 kB / 469.8 MB, free: 33.87 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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: 8.986278641037643]