Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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.000865/0.000865, allocations: 83.64 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006426/0.006426, allocations: 162.5 kB / 24.69 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.928/0.928, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.052e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001997/0.002017, allocations: 1.474 MB / 299.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.003655, allocations: 0.8397 MB / 300.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.003699, allocations: 0 / 300.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.482e-05/0.003784, allocations: 15.86 kB / 300.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.003853, allocations: 23.8 kB / 300.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.004102, allocations: 51.88 kB / 300.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.004269, allocations: 135.7 kB / 301 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.004407, allocations: 19.91 kB / 301 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.00481, allocations: 407.3 kB / 301.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.004922, allocations: 51.83 kB / 301.4 MB, free: 500 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.004951, allocations: 12 kB / 301.5 MB, free: 488 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.755e-05/0.004969, allocations: 8 kB / 301.5 MB, free: 480 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.005044, allocations: 71.7 kB / 301.5 MB, free: 408 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.00511, allocations: 55.73 kB / 301.6 MB, free: 352 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1516/0.1567, allocations: 354.1 kB / 301.9 MB, free: 13.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1567, allocations: 0 / 301.9 MB, free: 13.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1567, allocations: 0.8125 kB / 301.9 MB, free: 13.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.1567, allocations: 0.9062 kB / 301.9 MB, free: 13.69 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007603/0.1575, allocations: 0.6566 MB / 302.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.1576, allocations: 12.67 kB / 302.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.1576, allocations: 40.33 kB / 302.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.1577, allocations: 38.7 kB / 302.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1579, allocations: 215.4 kB / 302.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1579, allocations: 8.719 kB / 302.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1579, allocations: 8.094 kB / 302.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.1582, allocations: 242.4 kB / 303.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1582, allocations: 1.406 kB / 303.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.1582, allocations: 7.719 kB / 303.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1582, allocations: 5.859 kB / 303.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.1584, allocations: 178 kB / 303.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.1589, allocations: 412.5 kB / 303.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.1591, allocations: 195.5 kB / 303.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1593, allocations: 182 kB / 304.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.1593, allocations: 2.438 kB / 304.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.1597, allocations: 326 kB / 304.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/0.1597, allocations: 3.328 kB / 304.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007316/0.1604, allocations: 0.6996 MB / 305.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.1604, allocations: 171.6 kB / 305.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.161, allocations: 0.5141 MB / 305.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.161, allocations: 32.73 kB / 305.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.161, allocations: 97.23 kB / 305.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.1611, allocations: 26.55 kB / 306 MB, free: 10.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1612, allocations: 82.34 kB / 306 MB, free: 10.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.245e-05/0.1612, allocations: 321 kB / 306.4 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1614, allocations: 176.3 kB / 306.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1615, allocations: 194.3 kB / 306.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.1617, allocations: 352.7 kB / 307.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1617, allocations: 5.031 kB / 307.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003903/0.1621, allocations: 0.4995 MB / 307.6 MB, free: 9.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.1622, allocations: 123.7 kB / 307.7 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1622, allocations: 1.719 kB / 307.7 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1622, allocations: 3.031 kB / 307.7 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.682e-05/0.1622, allocations: 1.812 kB / 307.7 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1622, allocations: 0 / 307.7 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1623, allocations: 18.89 kB / 307.7 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.1624, allocations: 43.86 kB / 307.8 MB, free: 9.582 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.000219/0.1626, allocations: 364.5 kB / 308.1 MB, free: 9.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1626, allocations: 43.39 kB / 308.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.1627, allocations: 72.72 kB / 308.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1627, allocations: 1.875 kB / 308.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1627, allocations: 0 / 308.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1627, allocations: 1.453 kB / 308.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.1634, allocations: 0.8782 MB / 309.1 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1634, allocations: 0 / 309.1 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-06/0.1634, allocations: 1.125 kB / 309.1 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1634, allocations: 0 / 309.1 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.1634, allocations: 15.39 kB / 309.1 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1634, allocations: 5.188 kB / 309.1 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1634, allocations: 0.7969 kB / 309.1 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.1638, allocations: 0.6705 MB / 309.8 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.1641, allocations: 202 kB / 310 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1641, allocations: 11.72 kB / 310 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.1642, allocations: 10.64 kB / 310 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.1643, allocations: 25.09 kB / 310 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.1643, allocations: 43.2 kB / 310.1 MB, free: 7.918 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003339/0.1646, allocations: 388.7 kB / 310.5 MB, free: 7.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1646, allocations: 0 / 310.5 MB, free: 7.715 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.1649, allocations: 45.91 kB / 310.5 MB, free: 7.711 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0006431/0.1655, allocations: 1.213 MB / 311.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.1659, allocations: 0.605 MB / 312.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1659, allocations: 1.344 kB / 312.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.1661, allocations: 423.6 kB / 312.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.1665, allocations: 124.3 kB / 312.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.1693, allocations: 3.361 MB / 316.2 MB, free: 3.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1695, allocations: 192.9 kB / 316.4 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.273e-05/0.1696, allocations: 13.55 kB / 316.4 MB, free: 2.953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.1696, allocations: 32 kB / 316.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1696, allocations: 0 / 316.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.1939, allocations: 6.876 MB / 323.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/7.558, allocations: 9.062 kB / 323.3 MB, free: 0.7617 MB / 282.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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: 9.234418586827815]