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.001718/0.001718, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001456/0.001456, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.477/1.477, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.001991/0.001991, allocations: 59.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 49.16 MB / 396.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002736/0.3261, allocations: 1.52 MB / 397.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.3281, allocations: 0.913 MB / 398.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.3282, allocations: 1.156 kB / 398.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3283, allocations: 12.47 kB / 398.8 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.936e-05/0.3284, allocations: 14.95 kB / 398.8 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.3287, allocations: 60.55 kB / 398.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.3289, allocations: 132.7 kB / 399 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.329, allocations: 15.59 kB / 399 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.3296, allocations: 388 kB / 399.4 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.3297, allocations: 75.22 kB / 399.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.3298, allocations: 9.438 kB / 399.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-05/0.3298, allocations: 10.22 kB / 399.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.3299, allocations: 65.73 kB / 399.5 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.33, allocations: 110.9 kB / 399.7 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.3305, allocations: 361.7 kB / 400 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3305, allocations: 4 kB / 400 MB, free: 7.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3305, allocations: 0 / 400 MB, free: 7.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3305, allocations: 0 / 400 MB, free: 7.051 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.0007588/0.3312, allocations: 0.6547 MB / 400.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/0.3313, allocations: 16.48 kB / 400.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.3314, allocations: 42 kB / 400.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.3314, allocations: 38.7 kB / 400.8 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.3317, allocations: 213 kB / 401 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3317, allocations: 5.844 kB / 401 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.3317, allocations: 15.69 kB / 401 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.332, allocations: 122 kB / 401.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3321, allocations: 0.6094 kB / 401.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.3321, allocations: 2.969 kB / 401.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3321, allocations: 1.406 kB / 401.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.3322, allocations: 60.61 kB / 401.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000707/0.3329, allocations: 428.2 kB / 401.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.3331, allocations: 86.66 kB / 401.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3332, allocations: 59.95 kB / 401.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.3332, allocations: 2.156 kB / 401.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003559/0.3336, allocations: 199.8 kB / 401.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.3336, allocations: 0 / 401.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007861/0.3344, allocations: 469.3 kB / 402.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.3344, allocations: 170.7 kB / 402.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/0.3352, allocations: 0.5141 MB / 403.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3352, allocations: 33.42 kB / 403.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.3352, allocations: 95.97 kB / 403.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3353, allocations: 28.64 kB / 403.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3354, allocations: 81.98 kB / 403.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.3355, allocations: 330.5 kB / 403.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3356, allocations: 51.83 kB / 403.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3357, allocations: 75.86 kB / 403.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.336, allocations: 343 kB / 404.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.336, allocations: 1.125 kB / 404.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000505/0.3365, allocations: 372.4 kB / 404.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.347e-05/0.3366, allocations: 126.7 kB / 404.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3366, allocations: 1.438 kB / 404.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3366, allocations: 1.125 kB / 404.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.121e-05/0.3366, allocations: 0.9688 kB / 404.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3366, allocations: 5.703 kB / 404.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.3368, allocations: 13.89 kB / 404.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.3368, allocations: 38.28 kB / 404.6 MB, free: 3.598 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.0003128/0.3372, allocations: 364.5 kB / 405 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.3372, allocations: 39.42 kB / 405 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.3373, allocations: 70.02 kB / 405.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3373, allocations: 0 / 405.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3373, allocations: 1.203 kB / 405.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3373, allocations: 7.938 kB / 405.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/0.3382, allocations: 0.7799 MB / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3382, allocations: 0 / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-06/0.3382, allocations: 1.828 kB / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3382, allocations: 0 / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.3383, allocations: 11.77 kB / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3383, allocations: 1.5 kB / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3383, allocations: 4.453 kB / 405.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.3388, allocations: 0.528 MB / 406.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.3392, allocations: 201 kB / 406.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.3393, allocations: 12.5 kB / 406.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3394, allocations: 14.31 kB / 406.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3395, allocations: 28.19 kB / 406.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.3396, allocations: 50.88 kB / 406.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004615/0.34, allocations: 387.8 kB / 407.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.34, allocations: 0 / 407.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000298/0.3403, allocations: 41.25 kB / 407.2 MB, free: 1.969 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.0007679/0.3411, allocations: 1.079 MB / 408.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.3416, allocations: 371.9 kB / 408.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3416, allocations: 0 / 408.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.3418, allocations: 299.5 kB / 408.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.3424, allocations: 139.9 kB / 409 MB, free: 464 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.3462, allocations: 2.733 MB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.3468, allocations: 0.8039 MB / 412.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.521e-05/0.3469, allocations: 9.984 kB / 412.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.347, allocations: 31 kB / 412.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of SimCode: time 7.92e-07/0.347, allocations: 7.938 kB / 412.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.3853, allocations: 5.953 MB / 418.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.9, allocations: 1.25 kB / 418.6 MB, free: 10.92 MB / 334.1 MB " [Timeout remaining time 648] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.351352421101183]