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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001419/0.001419, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.88 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2632, allocations: 50.55 MB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002962/0.2662, allocations: 1.527 MB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.2682, allocations: 0.8848 MB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.2683, allocations: 0 / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.842e-05/0.2683, allocations: 15.88 kB / 411.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.2684, allocations: 11.86 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.2687, allocations: 55.88 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2689, allocations: 143.7 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.269, allocations: 19.98 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004423/0.2695, allocations: 383.3 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.2696, allocations: 63.75 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.2697, allocations: 12 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.5e-05/0.2697, allocations: 12 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.2698, allocations: 63.7 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.27, allocations: 111.2 kB / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.2703, allocations: 357.5 kB / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2704, allocations: 0 / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2704, allocations: 0 / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2704, allocations: 0 / 412.5 MB, free: 13.84 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.0008312/0.2712, allocations: 0.7343 MB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2713, allocations: 12.03 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.977e-05/0.2713, allocations: 50.67 kB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.2714, allocations: 36.7 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.2717, allocations: 274.7 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2717, allocations: 4.375 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.2717, allocations: 8.375 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.272, allocations: 129.3 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2721, allocations: 3.984 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.2721, allocations: 8 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2721, allocations: 0 / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.2722, allocations: 63.95 kB / 413.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.2729, allocations: 460.5 kB / 414.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.2731, allocations: 98.48 kB / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.2732, allocations: 84.88 kB / 414.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.2733, allocations: 0 / 414.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.2736, allocations: 206.3 kB / 414.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2736, allocations: 0 / 414.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008001/0.2744, allocations: 468.2 kB / 415.1 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.2746, allocations: 166.2 kB / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.2752, allocations: 0.5168 MB / 415.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.2753, allocations: 29.7 kB / 415.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.2754, allocations: 101.1 kB / 415.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.2754, allocations: 31.83 kB / 415.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.2755, allocations: 85.52 kB / 416 MB, free: 10.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2757, allocations: 322.8 kB / 416.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.2758, allocations: 59.91 kB / 416.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.276, allocations: 69.69 kB / 416.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.2763, allocations: 343.4 kB / 416.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2763, allocations: 3.938 kB / 416.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005562/0.2769, allocations: 376.3 kB / 417.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.277, allocations: 122.8 kB / 417.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.277, allocations: 0 / 417.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2771, allocations: 0 / 417.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.932e-05/0.2771, allocations: 4 kB / 417.3 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2771, allocations: 3.984 kB / 417.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.2772, allocations: 15.95 kB / 417.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.2773, allocations: 36 kB / 417.3 MB, free: 8.559 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.0003525/0.2776, allocations: 366.3 kB / 417.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.2777, allocations: 39.77 kB / 417.7 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.2778, allocations: 71.12 kB / 417.8 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2778, allocations: 0 / 417.8 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2778, allocations: 128 / 417.8 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2778, allocations: 7.938 kB / 417.8 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.2789, allocations: 0.8127 MB / 418.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2789, allocations: 0 / 418.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-06/0.2789, allocations: 0 / 418.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2789, allocations: 0 / 418.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.2789, allocations: 23.98 kB / 418.6 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2789, allocations: 0 / 418.6 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.279, allocations: 3.938 kB / 418.6 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.2796, allocations: 0.5175 MB / 419.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.28, allocations: 252.6 kB / 419.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.28, allocations: 8 kB / 419.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2802, allocations: 11.98 kB / 419.4 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.2803, allocations: 31.91 kB / 419.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.2803, allocations: 43.94 kB / 419.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004834/0.2808, allocations: 390.9 kB / 419.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.014e-06/0.2808, allocations: 0 / 419.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.2811, allocations: 43.94 kB / 419.9 MB, free: 5.789 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.001023/0.2821, allocations: 1.09 MB / 421 MB, free: 4.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.2827, allocations: 433.5 kB / 421.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2827, allocations: 0 / 421.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.2831, allocations: 377.6 kB / 421.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.2837, allocations: 121.5 kB / 421.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.2872, allocations: 2.744 MB / 424.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.2877, allocations: 0.8062 MB / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.2877, allocations: 8.656 kB / 425.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.2878, allocations: 31.36 kB / 425.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2878, allocations: 0 / 425.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.3149, allocations: 5.772 MB / 431.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.205, allocations: 6.438 kB / 431.3 MB, free: 10.23 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/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) Reference file matches