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.001274/0.001274, allocations: 107.6 kB / 21.18 MB, free: 0.5781 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.001413/0.001413, allocations: 216 kB / 24.48 MB, free: 3.867 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.327/1.327, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.001883/0.001883, allocations: 51.92 kB / 347.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2911, allocations: 49.15 MB / 396.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002794/0.2939, allocations: 1.473 MB / 397.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2958, allocations: 0.8569 MB / 398.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.2958, allocations: 1.062 kB / 398.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.2959, allocations: 13.14 kB / 398.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.87e-05/0.296, allocations: 13.95 kB / 398.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.2963, allocations: 58.19 kB / 398.8 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.2966, allocations: 131.3 kB / 398.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2967, allocations: 19.48 kB / 398.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.2973, allocations: 392.4 kB / 399.3 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.2975, allocations: 67.7 kB / 399.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.072e-05/0.2975, allocations: 9.594 kB / 399.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.868e-05/0.2976, allocations: 9.969 kB / 399.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2977, allocations: 61.67 kB / 399.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2978, allocations: 83.14 kB / 399.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.2982, allocations: 359.7 kB / 399.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2982, allocations: 2.172 kB / 399.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2982, allocations: 0 / 399.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.2983, allocations: 0 / 399.9 MB, free: 6.922 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.0008736/0.2991, allocations: 0.6616 MB / 400.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2992, allocations: 18.17 kB / 400.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.2992, allocations: 40.28 kB / 400.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.2993, allocations: 38.8 kB / 400.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.2995, allocations: 213.2 kB / 400.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2996, allocations: 5.469 kB / 400.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.2996, allocations: 7.219 kB / 400.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.2999, allocations: 249.9 kB / 401.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2999, allocations: 0.75 kB / 401.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.3, allocations: 6.812 kB / 401.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3, allocations: 1.281 kB / 401.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.3001, allocations: 183.8 kB / 401.3 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.3009, allocations: 408.5 kB / 401.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.3011, allocations: 193.8 kB / 401.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.3013, allocations: 178.6 kB / 402 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3013, allocations: 5.188 kB / 402 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/0.3017, allocations: 322.3 kB / 402.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3017, allocations: 0 / 402.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008702/0.3026, allocations: 0.6964 MB / 403.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.3027, allocations: 169 kB / 403.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/0.3033, allocations: 0.5205 MB / 403.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3033, allocations: 36.62 kB / 403.8 MB, free: 3.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.3034, allocations: 96.72 kB / 403.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.3034, allocations: 29.97 kB / 403.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3035, allocations: 78.97 kB / 404 MB, free: 3.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.3036, allocations: 328.7 kB / 404.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.3037, allocations: 172.2 kB / 404.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3039, allocations: 197.5 kB / 404.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.3042, allocations: 350.3 kB / 405 MB, free: 2.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3042, allocations: 4 kB / 405 MB, free: 2.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005732/0.3048, allocations: 0.4933 MB / 405.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.3048, allocations: 123.7 kB / 405.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3049, allocations: 1.125 kB / 405.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3049, allocations: 1.062 kB / 405.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-05/0.3049, allocations: 1.125 kB / 405.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3049, allocations: 1.281 kB / 405.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.305, allocations: 18.8 kB / 405.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/0.3051, allocations: 37.12 kB / 405.7 MB, free: 2.117 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.000304/0.3054, allocations: 369.3 kB / 406 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.3055, allocations: 40.2 kB / 406.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.3056, allocations: 64.97 kB / 406.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3056, allocations: 1.156 kB / 406.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3056, allocations: 0 / 406.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3056, allocations: 0 / 406.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.3066, allocations: 0.8827 MB / 407 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3066, allocations: 2.047 kB / 407 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-06/0.3066, allocations: 0 / 407 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3066, allocations: 0 / 407 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.3066, allocations: 16.19 kB / 407 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3066, allocations: 5.156 kB / 407.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3066, allocations: 3.938 kB / 407.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.3072, allocations: 0.6445 MB / 407.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.3077, allocations: 203.2 kB / 407.9 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.3077, allocations: 14.94 kB / 407.9 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3078, allocations: 10.5 kB / 407.9 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.308, allocations: 28.59 kB / 408 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.308, allocations: 43.12 kB / 408 MB, free: 440 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004913/0.3085, allocations: 391.2 kB / 408.4 MB, free: 224 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3085, allocations: 1.375 kB / 408.4 MB, free: 224 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.3088, allocations: 45.25 kB / 408.4 MB, free: 220 kB / 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.001209/0.31, allocations: 1.204 MB / 409.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007549/0.3108, allocations: 0.5993 MB / 410.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3108, allocations: 1.469 kB / 410.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.3112, allocations: 423.8 kB / 410.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.3118, allocations: 135.4 kB / 410.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/0.3165, allocations: 3.339 MB / 414.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3169, allocations: 206.5 kB / 414.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.19e-05/0.3169, allocations: 4.625 kB / 414.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.317, allocations: 30.94 kB / 414.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.317, allocations: 0 / 414.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.3539, allocations: 6.779 MB / 421.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.86, allocations: 5.562 kB / 421.1 MB, free: 7.844 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 & /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: 13.094622161239386]