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.001192/0.001193, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001202/0.001202, allocations: 191 kB / 18.66 MB, free: 4.445 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.405/1.405, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001375/0.001375, allocations: 55.91 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1057, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003321/0.1091, allocations: 1.52 MB / 376.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.111, allocations: 0.8941 MB / 377.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.1111, allocations: 4 kB / 377.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.713e-05/0.1112, allocations: 7.875 kB / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.759e-05/0.1113, allocations: 23.84 kB / 377.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1116, allocations: 43.89 kB / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1118, allocations: 155.7 kB / 377.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.112, allocations: 19.98 kB / 377.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004588/0.1124, allocations: 379.3 kB / 377.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1126, allocations: 67.7 kB / 377.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.1126, allocations: 12 kB / 377.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.878e-05/0.1127, allocations: 12 kB / 377.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1128, allocations: 67.7 kB / 377.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1129, allocations: 115.2 kB / 377.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.1133, allocations: 355 kB / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1133, allocations: 0 / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1133, allocations: 0 / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1133, allocations: 4 kB / 378.3 MB, free: 1.41 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.0008135/0.1141, allocations: 0.711 MB / 379 MB, free: 0.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1142, allocations: 15.97 kB / 379 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.1142, allocations: 42.75 kB / 379.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.1143, allocations: 36.56 kB / 379.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1146, allocations: 274.3 kB / 379.4 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1146, allocations: 4.375 kB / 379.4 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.1147, allocations: 8.375 kB / 379.4 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.115, allocations: 129.7 kB / 379.5 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.115, allocations: 0 / 379.5 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.115, allocations: 8 kB / 379.5 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.115, allocations: 0 / 379.5 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.1152, allocations: 59.91 kB / 379.6 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1961/0.3113, allocations: 457 kB / 380 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.3116, allocations: 94.98 kB / 380.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.3117, allocations: 83.45 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.3118, allocations: 1.375 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/0.3122, allocations: 206.1 kB / 380.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.3122, allocations: 0 / 380.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008052/0.313, allocations: 463 kB / 380.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.3131, allocations: 168.7 kB / 381 MB, free: 12.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/0.3138, allocations: 0.514 MB / 381.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.3138, allocations: 33.89 kB / 381.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.3139, allocations: 98.48 kB / 381.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.3139, allocations: 34.98 kB / 381.7 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3141, allocations: 78.86 kB / 381.8 MB, free: 12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.855e-05/0.3142, allocations: 325.2 kB / 382.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3143, allocations: 54.12 kB / 382.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.3145, allocations: 77.5 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.3148, allocations: 350.9 kB / 382.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3148, allocations: 0.7188 kB / 382.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007283/0.3156, allocations: 377 kB / 382.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.229e-05/0.3157, allocations: 127.8 kB / 383 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3157, allocations: 1.828 kB / 383 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3157, allocations: 1.312 kB / 383 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.163e-05/0.3157, allocations: 1.562 kB / 383 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3157, allocations: 5.406 kB / 383.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3159, allocations: 13.17 kB / 383.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.93e-05/0.316, allocations: 42.02 kB / 383.1 MB, free: 11.09 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.0002895/0.3163, allocations: 359.4 kB / 383.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.3163, allocations: 46 kB / 383.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.383e-05/0.3164, allocations: 64.67 kB / 383.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3165, allocations: 0 / 383.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3165, allocations: 1.062 kB / 383.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3165, allocations: 0.75 kB / 383.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008676/0.3173, allocations: 0.8212 MB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3174, allocations: 0.6094 kB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-06/0.3174, allocations: 1.344 kB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3174, allocations: 0 / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.3174, allocations: 16.22 kB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3174, allocations: 0.9688 kB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3174, allocations: 0 / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.318, allocations: 0.5245 MB / 384.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.3183, allocations: 240.7 kB / 385.2 MB, free: 9.625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.3183, allocations: 6.938 kB / 385.2 MB, free: 9.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3185, allocations: 17.7 kB / 385.2 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.3186, allocations: 20 kB / 385.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/0.3187, allocations: 51.05 kB / 385.3 MB, free: 9.609 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004683/0.3191, allocations: 387.9 kB / 385.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3191, allocations: 0 / 385.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.3194, allocations: 41.47 kB / 385.7 MB, free: 9.402 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.0008552/0.3203, allocations: 1.085 MB / 386.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004679/0.3208, allocations: 433.4 kB / 387.2 MB, free: 8.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3208, allocations: 0 / 387.2 MB, free: 8.176 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.3211, allocations: 379.3 kB / 387.6 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.3217, allocations: 131.9 kB / 387.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.3247, allocations: 2.736 MB / 390.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3251, allocations: 0.8068 MB / 391.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.286e-05/0.3252, allocations: 15.41 kB / 391.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.3252, allocations: 25.81 kB / 391.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3252, allocations: 3.938 kB / 391.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.3505, allocations: 5.872 MB / 397.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.1, allocations: 7.984 kB / 397.2 MB, free: 4.129 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) "" Variables in the reference:time,bUF3S.y Variables in the result:bUF3S.enable,bUF3S.strength,bUF3S.tHL,bUF3S.tLH,bUF3S.x,bUF3S.y,e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y,e_table.y0,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y,x_table.y0