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.001738/0.001738, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.002283/0.002283, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 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 1.37/1.37, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002838/0.002838, allocations: 62.58 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3501, allocations: 49.15 MB / 396.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003291/0.3534, allocations: 1.535 MB / 397.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3555, allocations: 0.9115 MB / 398.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.3556, allocations: 1.219 kB / 398.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.3557, allocations: 12 kB / 398.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.678e-05/0.3558, allocations: 14.95 kB / 398.8 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.3561, allocations: 57.42 kB / 398.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.3563, allocations: 135.2 kB / 399 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.3564, allocations: 12.88 kB / 399 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.3569, allocations: 389.2 kB / 399.4 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.3571, allocations: 77.83 kB / 399.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.3571, allocations: 10.44 kB / 399.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.3571, allocations: 9.25 kB / 399.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.3572, allocations: 66.75 kB / 399.6 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3573, allocations: 110.4 kB / 399.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.3578, allocations: 360.6 kB / 400 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3578, allocations: 0 / 400 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3578, allocations: 0 / 400 MB, free: 6.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3578, allocations: 1.094 kB / 400 MB, free: 6.902 MB / 318.1 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.0007218/0.3585, allocations: 0.6539 MB / 400.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3585, allocations: 18.05 kB / 400.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.3586, allocations: 44.33 kB / 400.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.3587, allocations: 38.83 kB / 400.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.3589, allocations: 213.2 kB / 401 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.359, allocations: 5.641 kB / 401 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.359, allocations: 11.25 kB / 401 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.3594, allocations: 122.8 kB / 401.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3594, allocations: 0.6562 kB / 401.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.3594, allocations: 3.438 kB / 401.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3594, allocations: 5.359 kB / 401.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.3596, allocations: 63.58 kB / 401.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008122/0.3604, allocations: 428.7 kB / 401.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.3606, allocations: 79.64 kB / 401.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.3607, allocations: 59.23 kB / 401.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3608, allocations: 1.375 kB / 401.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/0.3612, allocations: 202.1 kB / 401.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3612, allocations: 0 / 401.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008042/0.362, allocations: 465.7 kB / 402.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.3621, allocations: 168 kB / 402.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007004/0.3628, allocations: 0.5185 MB / 403.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.3628, allocations: 32.98 kB / 403.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.3629, allocations: 96.92 kB / 403.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.3629, allocations: 35.03 kB / 403.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.363, allocations: 78.81 kB / 403.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.3631, allocations: 325.5 kB / 403.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.3632, allocations: 57.09 kB / 403.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3634, allocations: 69.09 kB / 403.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.3636, allocations: 343.2 kB / 404.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3637, allocations: 5.188 kB / 404.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005043/0.3642, allocations: 374.5 kB / 404.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.905e-05/0.3642, allocations: 124.9 kB / 404.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3642, allocations: 0 / 404.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3642, allocations: 1.188 kB / 404.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.297e-05/0.3643, allocations: 8.156 kB / 404.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3643, allocations: 1.062 kB / 404.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.3644, allocations: 12.56 kB / 404.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.3645, allocations: 39.03 kB / 404.6 MB, free: 3.449 MB / 318.1 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.0003457/0.3648, allocations: 364.9 kB / 405 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.3649, allocations: 39.14 kB / 405 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.365, allocations: 65.56 kB / 405.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.365, allocations: 1.391 kB / 405.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.365, allocations: 8.062 kB / 405.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.365, allocations: 1.406 kB / 405.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.366, allocations: 0.7819 MB / 405.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.366, allocations: 0 / 405.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-06/0.366, allocations: 1.125 kB / 405.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.366, allocations: 5.969 kB / 405.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.3661, allocations: 10.64 kB / 405.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3661, allocations: 0 / 405.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3661, allocations: 4.875 kB / 405.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.3667, allocations: 0.517 MB / 406.4 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.3671, allocations: 213.8 kB / 406.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.3672, allocations: 11.48 kB / 406.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3673, allocations: 9.625 kB / 406.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3674, allocations: 36.8 kB / 406.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.3675, allocations: 42.47 kB / 406.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004931/0.368, allocations: 387.7 kB / 407.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.368, allocations: 0 / 407.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3683, allocations: 46.09 kB / 407.2 MB, free: 1.816 MB / 318.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: 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.0009159/0.3692, allocations: 1.079 MB / 408.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004879/0.3697, allocations: 375.3 kB / 408.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3697, allocations: 0 / 408.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.3699, allocations: 300.5 kB / 408.9 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.3706, allocations: 120.7 kB / 409 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.3745, allocations: 2.741 MB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.3751, allocations: 0.8075 MB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.425e-05/0.3751, allocations: 10.47 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.3752, allocations: 31.25 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3752, allocations: 0 / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.4113, allocations: 5.962 MB / 418.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.24, allocations: 1.188 kB / 418.6 MB, free: 10.77 MB / 334.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0023933 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/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] "Error: Could not read variable bUF3S.y in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv. Warning: Get data of variable bUF3S.y from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.769819319997623]