Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008783/0.0008783, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009798/0.0009798, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9287/0.9287, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.16e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002858/0.00288, allocations: 1.504 MB / 326 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.004974, allocations: 0.8303 MB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.005035, allocations: 0 / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.262e-05/0.005107, allocations: 11.92 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.694e-05/0.005184, allocations: 23.78 kB / 326.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.005432, allocations: 51.83 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.005631, allocations: 135.7 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.979e-05/0.005711, allocations: 15.98 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.006193, allocations: 415.2 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.006317, allocations: 63.81 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.00635, allocations: 8 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.608e-05/0.006376, allocations: 12 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.006448, allocations: 59.78 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.44e-05/0.006533, allocations: 55.73 kB / 327.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.006901, allocations: 358.9 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006903, allocations: 4 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006904, allocations: 0 / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.006911, allocations: 4 kB / 328 MB, free: 12.33 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.0007097/0.007621, allocations: 0.6551 MB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.00766, allocations: 11.98 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.007701, allocations: 38.75 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.007766, allocations: 40.7 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.008004, allocations: 220.1 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.008023, allocations: 4.375 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.008047, allocations: 8.375 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.008362, allocations: 244.9 kB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.008371, allocations: 192 / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.008391, allocations: 8.125 kB / 329.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.008397, allocations: 11.98 kB / 329.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.008582, allocations: 178.8 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.00921, allocations: 403.7 kB / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.00943, allocations: 197.3 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.009611, allocations: 179.7 kB / 330.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.009621, allocations: 0 / 330.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.009956, allocations: 317.5 kB / 330.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.009958, allocations: 0 / 330.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006461/0.0106, allocations: 0.6998 MB / 331.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.01068, allocations: 174.2 kB / 331.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.01111, allocations: 0.5129 MB / 331.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.01113, allocations: 37.64 kB / 331.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.01118, allocations: 97.12 kB / 332 MB, free: 7.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.01121, allocations: 35.72 kB / 332.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.01129, allocations: 77.52 kB / 332.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.01138, allocations: 326.8 kB / 332.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.0115, allocations: 174.9 kB / 332.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.01161, allocations: 203.2 kB / 332.8 MB, free: 7.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.01182, allocations: 363.2 kB / 333.2 MB, free: 6.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01182, allocations: 0 / 333.2 MB, free: 6.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003514/0.01217, allocations: 0.4913 MB / 333.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/0.01223, allocations: 126.8 kB / 333.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01224, allocations: 0 / 333.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.01225, allocations: 0 / 333.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.942e-05/0.01227, allocations: 4 kB / 333.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01227, allocations: 0 / 333.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-05/0.01236, allocations: 19.94 kB / 333.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.0124, allocations: 36 kB / 333.9 MB, free: 5.875 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.0002285/0.01262, allocations: 374.5 kB / 334.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.01265, allocations: 39.77 kB / 334.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.01272, allocations: 63.09 kB / 334.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01272, allocations: 3.984 kB / 334.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01273, allocations: 0 / 334.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01273, allocations: 4 kB / 334.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.01335, allocations: 0.87 MB / 335.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01335, allocations: 0 / 335.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-06/0.01336, allocations: 7.984 kB / 335.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01336, allocations: 0 / 335.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01337, allocations: 16 kB / 335.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01338, allocations: 0 / 335.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01338, allocations: 0 / 335.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.01379, allocations: 0.6601 MB / 335.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.01403, allocations: 205.4 kB / 336.1 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.01406, allocations: 12 kB / 336.1 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.01414, allocations: 15.92 kB / 336.1 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.01421, allocations: 24.16 kB / 336.1 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.01425, allocations: 47.94 kB / 336.2 MB, free: 3.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003021/0.01455, allocations: 390.9 kB / 336.6 MB, free: 2.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01455, allocations: 0 / 336.6 MB, free: 2.969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.01475, allocations: 55.88 kB / 336.6 MB, free: 2.914 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.0006209/0.01537, allocations: 1.198 MB / 337.8 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.01573, allocations: 0.6124 MB / 338.4 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01573, allocations: 0 / 338.4 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.01594, allocations: 428.2 kB / 338.9 MB, free: 444 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.01629, allocations: 123.8 kB / 339 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.01872, allocations: 3.357 MB / 342.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.0189, allocations: 202.2 kB / 342.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.949e-05/0.01895, allocations: 4.734 kB / 342.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.01899, allocations: 32.48 kB / 342.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01899, allocations: 0 / 342.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.03709, allocations: 6.876 MB / 349.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/6.988, allocations: 10.61 kB / 349.4 MB, free: 5.703 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.csv. Warning: Get data of variable bUF3S.y from file Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.80037016235292]