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.001711/0.001711, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002287/0.002287, allocations: 214.3 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002416/0.002416, allocations: 67.89 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2682, allocations: 53.4 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002815/0.271, allocations: 1.495 MB / 432.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.2729, allocations: 0.8265 MB / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.273, allocations: 0 / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.67e-05/0.2731, allocations: 19.8 kB / 433.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.829e-05/0.2732, allocations: 23.8 kB / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.2734, allocations: 55.88 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.2736, allocations: 131.8 kB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.2737, allocations: 11.98 kB / 433.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004631/0.2742, allocations: 395.2 kB / 434.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.2743, allocations: 71.64 kB / 434.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.2744, allocations: 8 kB / 434.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.364e-05/0.2744, allocations: 8 kB / 434.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.2745, allocations: 67.75 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.2746, allocations: 79.36 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.275, allocations: 364.1 kB / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.275, allocations: 0 / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.275, allocations: 4 kB / 434.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.275, allocations: 0 / 434.7 MB, free: 2.914 MB / 334.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.0008261/0.2758, allocations: 0.6552 MB / 435.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2758, allocations: 11.98 kB / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.2759, allocations: 42.73 kB / 435.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.276, allocations: 44.69 kB / 435.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.2763, allocations: 208.9 kB / 435.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.2763, allocations: 4.375 kB / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.2763, allocations: 12.38 kB / 435.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.2767, allocations: 247.5 kB / 435.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2767, allocations: 0 / 435.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.2767, allocations: 11.98 kB / 435.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2767, allocations: 4 kB / 435.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.277, allocations: 178.8 kB / 436.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.2777, allocations: 411.6 kB / 436.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.2779, allocations: 189.3 kB / 436.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.2782, allocations: 179.7 kB / 436.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.2782, allocations: 0 / 436.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.2786, allocations: 320.9 kB / 437.1 MB, free: 144 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2786, allocations: 4 kB / 437.2 MB, free: 140 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009852/0.2796, allocations: 0.6972 MB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.2797, allocations: 166.2 kB / 438 MB, free: 15.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.2804, allocations: 0.5246 MB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.2804, allocations: 29.7 kB / 438.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.2805, allocations: 101.1 kB / 438.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.2805, allocations: 27.84 kB / 438.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.2806, allocations: 81.45 kB / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2808, allocations: 326.8 kB / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.281, allocations: 174.8 kB / 439.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.2813, allocations: 196.4 kB / 439.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.2816, allocations: 355.3 kB / 439.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2816, allocations: 0 / 439.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006272/0.2823, allocations: 0.4907 MB / 440.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.2824, allocations: 122.8 kB / 440.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2824, allocations: 0 / 440.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2824, allocations: 4 kB / 440.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.687e-05/0.2824, allocations: 0 / 440.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2824, allocations: 0 / 440.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2825, allocations: 15.94 kB / 440.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.2826, allocations: 40.03 kB / 440.5 MB, free: 12.48 MB / 350.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.0003711/0.283, allocations: 362.2 kB / 440.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.283, allocations: 43.7 kB / 440.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.2831, allocations: 67.08 kB / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2831, allocations: 0 / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2831, allocations: 0 / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2831, allocations: 4 kB / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.2842, allocations: 0.8856 MB / 441.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2842, allocations: 0 / 441.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-06/0.2842, allocations: 0 / 441.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2842, allocations: 8 kB / 441.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.2843, allocations: 16.11 kB / 441.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2843, allocations: 4 kB / 441.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2843, allocations: 3.938 kB / 441.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007798/0.285, allocations: 0.6414 MB / 442.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.2854, allocations: 209.4 kB / 442.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.2855, allocations: 12 kB / 442.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2856, allocations: 8 kB / 442.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.2857, allocations: 23.91 kB / 442.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/0.2858, allocations: 47.94 kB / 442.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000489/0.2863, allocations: 390.9 kB / 443.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2863, allocations: 4 kB / 443.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.2866, allocations: 40 kB / 443.2 MB, free: 9.539 MB / 350.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.001137/0.2877, allocations: 1.202 MB / 444.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006811/0.2884, allocations: 0.6046 MB / 445 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2884, allocations: 0 / 445 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.2888, allocations: 424.3 kB / 445.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.2894, allocations: 134 kB / 445.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.2935, allocations: 3.351 MB / 448.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2938, allocations: 193.7 kB / 449.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.638e-05/0.2939, allocations: 8.656 kB / 449.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.2939, allocations: 27.42 kB / 449.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2939, allocations: 0 / 449.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.328, allocations: 6.779 MB / 455.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.34, allocations: 7.922 kB / 455.9 MB, free: 12.46 MB / 366.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/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: 13.890195588115603]