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.001652/0.001652, 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.001701/0.001701, allocations: 211.9 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.002021/0.002021, allocations: 63.89 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.252, allocations: 53.41 MB / 431.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002847/0.2548, allocations: 1.499 MB / 432.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2568, allocations: 0.8304 MB / 433.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.2569, allocations: 0 / 433.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.819e-05/0.257, allocations: 11.86 kB / 433.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.2571, allocations: 19.86 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.2574, allocations: 55.88 kB / 433.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.2576, allocations: 135.7 kB / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.2577, allocations: 15.92 kB / 433.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.2582, allocations: 395.3 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2583, allocations: 67.69 kB / 434.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.2584, allocations: 12 kB / 434.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.2584, allocations: 8 kB / 434.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.2585, allocations: 71.69 kB / 434.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2586, allocations: 75.42 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.259, allocations: 360.1 kB / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.259, allocations: 0 / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.259, allocations: 4 kB / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.259, allocations: 0 / 434.7 MB, free: 3.035 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.000765/0.2597, allocations: 0.6551 MB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2598, allocations: 19.98 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.2598, allocations: 38.75 kB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.2599, allocations: 40.69 kB / 435.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.2602, allocations: 212.9 kB / 435.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.2602, allocations: 4.375 kB / 435.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.2603, allocations: 12.38 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.2606, allocations: 244.5 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2606, allocations: 0 / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.2607, allocations: 4 kB / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.2607, allocations: 0 / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.2609, allocations: 178.8 kB / 436.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.2616, allocations: 415.6 kB / 436.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.2619, allocations: 193.3 kB / 436.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.2621, allocations: 179.7 kB / 436.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.2621, allocations: 0 / 436.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004568/0.2626, allocations: 321.1 kB / 437.2 MB, free: 268 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.2626, allocations: 0 / 437.2 MB, free: 268 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001014/0.2636, allocations: 0.6967 MB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.2637, allocations: 166.2 kB / 438 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.2644, allocations: 0.5246 MB / 438.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.2644, allocations: 29.7 kB / 438.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.2645, allocations: 97.14 kB / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.2645, allocations: 27.84 kB / 438.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.2646, allocations: 77.62 kB / 438.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2648, allocations: 330.7 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.265, allocations: 174.8 kB / 439.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.2653, allocations: 199.5 kB / 439.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.2656, allocations: 343.3 kB / 439.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2656, allocations: 0 / 439.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006385/0.2663, allocations: 0.4952 MB / 440.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.2664, allocations: 130.7 kB / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2664, allocations: 0 / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2664, allocations: 0 / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.28e-05/0.2664, allocations: 4 kB / 440.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2664, allocations: 4.062 kB / 440.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2666, allocations: 15.94 kB / 440.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.2666, allocations: 36 kB / 440.5 MB, free: 12.61 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.0004028/0.267, allocations: 370.3 kB / 440.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.2671, allocations: 47.78 kB / 440.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.2672, allocations: 67.08 kB / 440.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2672, allocations: 0 / 440.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2672, allocations: 0 / 440.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.2672, allocations: 0 / 440.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.2684, allocations: 0.8894 MB / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2684, allocations: 0 / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.2684, allocations: 0 / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2684, allocations: 0 / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.2684, allocations: 12 kB / 441.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.2684, allocations: 3.984 kB / 441.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2684, allocations: 7.938 kB / 441.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.2692, allocations: 0.6443 MB / 442.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.2696, allocations: 209.3 kB / 442.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.2697, allocations: 12 kB / 442.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2698, allocations: 8 kB / 442.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2699, allocations: 23.91 kB / 442.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.27, allocations: 47.92 kB / 442.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004919/0.2705, allocations: 390.9 kB / 443.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2705, allocations: 0 / 443.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.2707, allocations: 44 kB / 443.2 MB, free: 9.664 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.00115/0.2719, allocations: 1.206 MB / 444.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007108/0.2726, allocations: 0.6046 MB / 445 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2726, allocations: 0 / 445 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.273, allocations: 420.4 kB / 445.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007567/0.2738, allocations: 124 kB / 445.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.2783, allocations: 3.344 MB / 448.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2786, allocations: 201.8 kB / 449.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.2786, allocations: 12.59 kB / 449.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.2787, allocations: 27.42 kB / 449.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2787, allocations: 0 / 449.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.3134, allocations: 6.777 MB / 455.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.5, allocations: 19.8 kB / 455.9 MB, free: 12.57 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 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.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.929924794007093]