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.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.001716/0.001716, allocations: 116 kB / 18.45 MB, free: 4.625 MB / 14.72 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.002221/0.002221, allocations: 194.9 kB / 21.4 MB, free: 1.688 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.419/1.419, allocations: 207.6 MB / 231.8 MB, free: 4.215 MB / 174.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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 51.92 kB / 342.2 MB, free: 10.06 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09512, allocations: 49.11 MB / 391.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002759/0.09788, allocations: 1.522 MB / 392.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.09979, allocations: 0.9114 MB / 393.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.09984, allocations: 4 kB / 393.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.205e-05/0.09992, allocations: 3.938 kB / 393.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.623e-05/0.1, allocations: 23.8 kB / 393.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.1003, allocations: 47.88 kB / 393.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1005, allocations: 131.8 kB / 394 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1006, allocations: 23.86 kB / 394 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/0.101, allocations: 387.3 kB / 394.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1012, allocations: 67.69 kB / 394.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1012, allocations: 12 kB / 394.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.78e-05/0.1012, allocations: 12 kB / 394.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.917e-05/0.1013, allocations: 67.7 kB / 394.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1015, allocations: 115.2 kB / 394.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.1018, allocations: 358.5 kB / 395 MB, free: 5.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1019, allocations: 0 / 395 MB, free: 5.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1019, allocations: 0 / 395 MB, free: 5.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1019, allocations: 0 / 395 MB, free: 5.094 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.000843/0.1027, allocations: 0.7266 MB / 395.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1028, allocations: 8.031 kB / 395.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.1028, allocations: 46.69 kB / 395.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.1029, allocations: 44.69 kB / 395.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.1032, allocations: 274.7 kB / 396.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.1032, allocations: 8.375 kB / 396.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.1033, allocations: 8.375 kB / 396.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.1035, allocations: 129.7 kB / 396.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1035, allocations: 0 / 396.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.1036, allocations: 8 kB / 396.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1036, allocations: 0 / 396.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.1037, allocations: 55.97 kB / 396.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.1044, allocations: 468.5 kB / 396.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1046, allocations: 74.48 kB / 396.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.1047, allocations: 60.89 kB / 396.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.1047, allocations: 0 / 396.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00035/0.1051, allocations: 206.6 kB / 397.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.1051, allocations: 0 / 397.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007953/0.1059, allocations: 464.3 kB / 397.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.106, allocations: 170.2 kB / 397.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006532/0.1066, allocations: 0.5168 MB / 398.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.1066, allocations: 29.7 kB / 398.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.1067, allocations: 105.1 kB / 398.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.1068, allocations: 35.73 kB / 398.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1069, allocations: 85.55 kB / 398.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.107, allocations: 322.8 kB / 398.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1071, allocations: 59.97 kB / 398.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1073, allocations: 65.69 kB / 398.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.1076, allocations: 343.2 kB / 399.3 MB, free: 476 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1076, allocations: 0 / 399.3 MB, free: 476 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005256/0.1081, allocations: 372.3 kB / 399.6 MB, free: 72 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.1083, allocations: 130.9 kB / 399.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1083, allocations: 0 / 399.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1083, allocations: 0 / 399.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-05/0.1083, allocations: 3.938 kB / 399.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1083, allocations: 4 kB / 399.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.1084, allocations: 15.98 kB / 399.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.1085, allocations: 39.94 kB / 399.8 MB, free: 15.85 MB / 334.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.000374/0.1089, allocations: 374.2 kB / 400.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.1089, allocations: 43.77 kB / 400.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.109, allocations: 63.16 kB / 400.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.109, allocations: 3.984 kB / 400.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.109, allocations: 112 / 400.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.109, allocations: 3.938 kB / 400.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009935/0.11, allocations: 0.8098 MB / 401.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.11, allocations: 192 / 401.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-06/0.11, allocations: 4 kB / 401.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.11, allocations: 0 / 401.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.1101, allocations: 16 kB / 401.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1101, allocations: 4 kB / 401.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1101, allocations: 3.938 kB / 401.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.1107, allocations: 0.5253 MB / 401.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.1111, allocations: 248.6 kB / 401.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.1112, allocations: 12 kB / 401.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1113, allocations: 7.984 kB / 401.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.1114, allocations: 31.91 kB / 402 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/0.1115, allocations: 40 kB / 402 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004651/0.1119, allocations: 386.9 kB / 402.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1119, allocations: 0 / 402.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1122, allocations: 51.94 kB / 402.4 MB, free: 13.07 MB / 334.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.001038/0.1132, allocations: 1.078 MB / 403.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004855/0.1137, allocations: 381.5 kB / 403.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1137, allocations: 0 / 403.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.114, allocations: 293.6 kB / 404.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.1146, allocations: 137.1 kB / 404.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.1182, allocations: 2.747 MB / 407 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.1187, allocations: 0.8021 MB / 407.8 MB, free: 7.363 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.612e-05/0.1187, allocations: 12.64 kB / 407.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.1188, allocations: 23.44 kB / 407.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1188, allocations: 3.938 kB / 407.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/0.155, allocations: 5.79 MB / 413.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.069, allocations: 8 kB / 413.7 MB, free: 1.473 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.418168458156288]