Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8898/0.8898, allocations: 173.4 MB / 200.5 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.452e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002891/0.002915, allocations: 1.49 MB / 319.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.004417, allocations: 0.7952 MB / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.004472, allocations: 4 kB / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.294e-05/0.004565, allocations: 3.938 kB / 320.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.946e-05/0.004634, allocations: 23.8 kB / 320.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.004911, allocations: 59.81 kB / 320.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.005072, allocations: 143.6 kB / 320.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.005164, allocations: 12 kB / 321 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.005496, allocations: 411.2 kB / 321.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.005589, allocations: 59.8 kB / 321.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.005619, allocations: 12 kB / 321.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.103e-05/0.00564, allocations: 8 kB / 321.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.005706, allocations: 67.78 kB / 321.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.005768, allocations: 51.73 kB / 321.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.006231, allocations: 362.8 kB / 321.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006234, allocations: 0 / 321.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.006236, allocations: 0 / 321.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.006241, allocations: 0 / 321.9 MB, free: 2.859 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.0005814/0.006823, allocations: 0.6506 MB / 322.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.00686, allocations: 12.92 kB / 322.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.006893, allocations: 42.69 kB / 322.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.00694, allocations: 44.69 kB / 322.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.007134, allocations: 216.1 kB / 322.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.007149, allocations: 4.375 kB / 322.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.007166, allocations: 12.38 kB / 322.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.007415, allocations: 248.9 kB / 323.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.007423, allocations: 192 / 323.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.00744, allocations: 8.125 kB / 323.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.007443, allocations: 0 / 323.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.007574, allocations: 178.8 kB / 323.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.008121, allocations: 407.7 kB / 323.7 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.00827, allocations: 193.3 kB / 323.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.00839, allocations: 187.7 kB / 324.1 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.008399, allocations: 0 / 324.1 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.008662, allocations: 317.5 kB / 324.4 MB, free: 84 kB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.008663, allocations: 0 / 324.4 MB, free: 84 kB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005926/0.009256, allocations: 0.6969 MB / 325.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.009325, allocations: 166.2 kB / 325.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.009715, allocations: 0.5169 MB / 325.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.009734, allocations: 29.7 kB / 325.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.00978, allocations: 97.09 kB / 325.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.009805, allocations: 27.83 kB / 325.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.009875, allocations: 89.52 kB / 326 MB, free: 14.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.009962, allocations: 318.8 kB / 326.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01007, allocations: 182.7 kB / 326.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.01019, allocations: 192.5 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.01065, allocations: 354 kB / 327 MB, free: 13.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01065, allocations: 4 kB / 327 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003696/0.01102, allocations: 0.503 MB / 327.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.441e-05/0.01109, allocations: 122.8 kB / 327.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01109, allocations: 4 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.01111, allocations: 4.031 kB / 327.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.634e-05/0.01112, allocations: 0 / 327.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.01113, allocations: 0 / 327.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.093e-05/0.01122, allocations: 19.92 kB / 327.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.01125, allocations: 36 kB / 327.7 MB, free: 12.42 MB / 298.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.0002255/0.01148, allocations: 362.5 kB / 328.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.01151, allocations: 39.77 kB / 328.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.01159, allocations: 75.06 kB / 328.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01159, allocations: 3.938 kB / 328.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01159, allocations: 128 / 328.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.0116, allocations: 8 kB / 328.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.01222, allocations: 0.8855 MB / 329.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01222, allocations: 0 / 329.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-06/0.01222, allocations: 0 / 329.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01223, allocations: 0 / 329.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.01225, allocations: 16 kB / 329.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01225, allocations: 3.984 kB / 329.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01225, allocations: 0 / 329.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.01268, allocations: 0.6564 MB / 329.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.01291, allocations: 201.4 kB / 329.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.01295, allocations: 12 kB / 330 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.01303, allocations: 12 kB / 330 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.01311, allocations: 27.97 kB / 330 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.01314, allocations: 39.94 kB / 330 MB, free: 9.883 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002955/0.01344, allocations: 394.9 kB / 330.4 MB, free: 9.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01344, allocations: 0 / 330.4 MB, free: 9.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.01363, allocations: 51.89 kB / 330.5 MB, free: 9.445 MB / 298.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.000621/0.01425, allocations: 1.198 MB / 331.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003943/0.01465, allocations: 0.6085 MB / 332.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01465, allocations: 4.062 kB / 332.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.01486, allocations: 428.3 kB / 332.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.01525, allocations: 125.2 kB / 332.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.01801, allocations: 3.362 MB / 336.2 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.01838, allocations: 193.7 kB / 336.4 MB, free: 3.055 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.01843, allocations: 8.719 kB / 336.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.01847, allocations: 32.48 kB / 336.4 MB, free: 3.016 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01847, allocations: 0 / 336.4 MB, free: 3.016 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.03647, allocations: 6.897 MB / 343.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.94, allocations: 0 / 343.3 MB, free: 12.29 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.63144574034959]