Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001065/0.001065, allocations: 79.7 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.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.0008128/0.0008128, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8955/0.8955, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.954e-05, allocations: 8.469 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00168/0.0017, allocations: 1.503 MB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.003008, allocations: 0.8303 MB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.56e-05/0.003054, allocations: 3.938 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.716e-05/0.003141, allocations: 11.86 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.003212, allocations: 23.84 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.00344, allocations: 59.08 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.003603, allocations: 135.7 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.003688, allocations: 15.98 kB / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.004024, allocations: 411.2 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.004125, allocations: 59.75 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.004156, allocations: 12 kB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.004173, allocations: 8 kB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.004241, allocations: 71.72 kB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.004304, allocations: 51.8 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.004693, allocations: 354.8 kB / 328.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004695, allocations: 4 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004696, allocations: 0 / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.004699, allocations: 0 / 328.1 MB, free: 12.39 MB / 298.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.0005065/0.005206, allocations: 0.6542 MB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.00524, allocations: 16.02 kB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.005272, allocations: 38.75 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.005315, allocations: 40.7 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.005494, allocations: 220 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.005509, allocations: 4.375 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.005526, allocations: 8.375 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.005767, allocations: 245 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.005773, allocations: 4.188 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.005791, allocations: 12.12 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.005795, allocations: 0 / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.005917, allocations: 170.8 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.006335, allocations: 411.6 kB / 329.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.00648, allocations: 193.3 kB / 330.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.006598, allocations: 179.7 kB / 330.3 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.006607, allocations: 3.938 kB / 330.3 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.006854, allocations: 329.5 kB / 330.6 MB, free: 9.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.006855, allocations: 0 / 330.6 MB, free: 9.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005611/0.007416, allocations: 0.6853 MB / 331.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.007474, allocations: 174.2 kB / 331.4 MB, free: 8.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.007859, allocations: 0.5129 MB / 331.9 MB, free: 8.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.007882, allocations: 37.58 kB / 332 MB, free: 8.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.007928, allocations: 105.1 kB / 332.1 MB, free: 7.969 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.007953, allocations: 23.8 kB / 332.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.008023, allocations: 85.5 kB / 332.2 MB, free: 7.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.008095, allocations: 322.8 kB / 332.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.008206, allocations: 174.8 kB / 332.7 MB, free: 7.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.00832, allocations: 196.5 kB / 332.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.008522, allocations: 363.1 kB / 333.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008524, allocations: 4 kB / 333.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003432/0.008867, allocations: 498.5 kB / 333.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.008921, allocations: 126.8 kB / 333.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.008927, allocations: 7.984 kB / 333.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.008937, allocations: 0 / 333.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.399e-05/0.008951, allocations: 3.938 kB / 333.9 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.008956, allocations: 0 / 333.9 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.287e-05/0.009039, allocations: 19.98 kB / 333.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.009076, allocations: 44.09 kB / 333.9 MB, free: 5.938 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.0002082/0.009284, allocations: 366.4 kB / 334.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.009312, allocations: 39.77 kB / 334.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.009375, allocations: 63.09 kB / 334.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.009377, allocations: 128 / 334.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.009382, allocations: 4 kB / 334.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.009385, allocations: 0 / 334.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007459/0.01013, allocations: 0.8895 MB / 335.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01013, allocations: 0 / 335.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-06/0.01013, allocations: 4 kB / 335.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.01014, allocations: 0 / 335.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.01015, allocations: 15.98 kB / 335.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01015, allocations: 0 / 335.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01016, allocations: 0 / 335.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.01056, allocations: 0.6531 MB / 335.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.0108, allocations: 201.4 kB / 336.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.01083, allocations: 12 kB / 336.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.01091, allocations: 11.98 kB / 336.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.01098, allocations: 19.98 kB / 336.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.01102, allocations: 51.92 kB / 336.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002875/0.0113, allocations: 390.8 kB / 336.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0113, allocations: 0 / 336.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.01149, allocations: 51.88 kB / 336.7 MB, free: 2.992 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.0006137/0.01211, allocations: 1.198 MB / 337.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.01249, allocations: 0.6124 MB / 338.5 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.01249, allocations: 0 / 338.5 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.01269, allocations: 424.3 kB / 338.9 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.01305, allocations: 133.2 kB / 339 MB, free: 408 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.01549, allocations: 3.357 MB / 342.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.01565, allocations: 202.2 kB / 342.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.785e-05/0.01567, allocations: 8.719 kB / 342.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.01571, allocations: 28.5 kB / 342.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.01571, allocations: 0 / 342.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.03278, allocations: 6.888 MB / 349.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.034, allocations: 3.984 kB / 349.5 MB, free: 5.828 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.csv. Warning: Get data of variable bUF3S.y from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.801525384187698]