Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 114.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 59.91 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08645, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002722/0.08921, allocations: 1.524 MB / 376.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.09116, allocations: 0.8902 MB / 377.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.0913, allocations: 0 / 377.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.148e-05/0.0914, allocations: 15.86 kB / 377.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.375e-05/0.09149, allocations: 15.86 kB / 377.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.09174, allocations: 47.89 kB / 377.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.092, allocations: 155.7 kB / 377.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.0921, allocations: 15.98 kB / 377.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.09256, allocations: 375.3 kB / 377.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.0927, allocations: 63.7 kB / 377.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.09275, allocations: 8 kB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.643e-05/0.0928, allocations: 12 kB / 377.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.09289, allocations: 63.75 kB / 377.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.09303, allocations: 119.1 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.09343, allocations: 358.5 kB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09344, allocations: 0 / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09345, allocations: 0 / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.09346, allocations: 0 / 378.3 MB, free: 1.418 MB / 318.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.0008944/0.09436, allocations: 0.7344 MB / 379 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.09441, allocations: 12.03 kB / 379 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.09446, allocations: 34.75 kB / 379.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.09454, allocations: 44.7 kB / 379.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.09487, allocations: 274.7 kB / 379.4 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.0949, allocations: 12.31 kB / 379.4 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.09494, allocations: 8.375 kB / 379.4 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.09523, allocations: 125.7 kB / 379.5 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.09525, allocations: 0 / 379.5 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.09528, allocations: 7.938 kB / 379.5 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.09529, allocations: 4 kB / 379.5 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1532/0.2485, allocations: 52.67 kB / 379.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008855/0.2495, allocations: 463.5 kB / 380 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.2497, allocations: 97.7 kB / 380.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.2499, allocations: 86.5 kB / 380.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.2499, allocations: 0 / 380.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003495/0.2503, allocations: 202.4 kB / 380.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.2503, allocations: 0 / 380.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007571/0.251, allocations: 467.4 kB / 380.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.2511, allocations: 165.1 kB / 381 MB, free: 12.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.2517, allocations: 0.515 MB / 381.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2517, allocations: 32.42 kB / 381.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.2518, allocations: 101 kB / 381.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.2518, allocations: 34.78 kB / 381.7 MB, free: 12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.252, allocations: 85.55 kB / 381.8 MB, free: 11.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.252, allocations: 320.9 kB / 382.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.2522, allocations: 54.58 kB / 382.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.2524, allocations: 80.62 kB / 382.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.2526, allocations: 341.6 kB / 382.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2527, allocations: 6.219 kB / 382.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006383/0.2533, allocations: 378.9 kB / 382.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.692e-05/0.2534, allocations: 123.6 kB / 383.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2534, allocations: 1.094 kB / 383.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2534, allocations: 1 kB / 383.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.92e-05/0.2534, allocations: 5.359 kB / 383.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2535, allocations: 0.5625 kB / 383.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.2536, allocations: 14.27 kB / 383.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.2537, allocations: 39.17 kB / 383.1 MB, free: 11.07 MB / 318.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.0003087/0.254, allocations: 362.8 kB / 383.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.2541, allocations: 43.45 kB / 383.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.2542, allocations: 65.19 kB / 383.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2542, allocations: 1.125 kB / 383.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2542, allocations: 0 / 383.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2542, allocations: 0.7031 kB / 383.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.2552, allocations: 0.8132 MB / 384.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2552, allocations: 0 / 384.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-06/0.2552, allocations: 1.062 kB / 384.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2552, allocations: 3.438 kB / 384.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.2553, allocations: 16.08 kB / 384.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2553, allocations: 1.125 kB / 384.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2553, allocations: 2.938 kB / 384.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.2558, allocations: 0.525 MB / 385 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.2561, allocations: 245.2 kB / 385.2 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.2562, allocations: 12.03 kB / 385.2 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.2563, allocations: 13 kB / 385.2 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/0.2564, allocations: 20.03 kB / 385.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.2565, allocations: 51.12 kB / 385.3 MB, free: 9.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004222/0.2569, allocations: 387.6 kB / 385.7 MB, free: 9.375 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.2569, allocations: 0 / 385.7 MB, free: 9.375 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000284/0.2572, allocations: 53.95 kB / 385.7 MB, free: 9.363 MB / 318.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.0007257/0.2579, allocations: 1.083 MB / 386.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.2584, allocations: 438.1 kB / 387.2 MB, free: 8.133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2584, allocations: 5.281 kB / 387.2 MB, free: 8.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.2586, allocations: 371.9 kB / 387.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.2592, allocations: 129.8 kB / 387.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.2621, allocations: 2.744 MB / 390.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2624, allocations: 0.8035 MB / 391.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.859e-05/0.2624, allocations: 14 kB / 391.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.2625, allocations: 30.39 kB / 391.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2625, allocations: 0 / 391.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.2895, allocations: 5.768 MB / 397.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.279, allocations: 1.438 kB / 397.1 MB, free: 4.16 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches