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.001132/0.001132, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001285/0.001286, allocations: 183 kB / 18.66 MB, free: 4.418 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.428/1.428, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.00118/0.00118, allocations: 55.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1054, allocations: 46.62 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00259/0.108, allocations: 1.509 MB / 376.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.1103, allocations: 0.9019 MB / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.1104, allocations: 0 / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.1105, allocations: 7.922 kB / 377.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.185e-05/0.1106, allocations: 23.78 kB / 377.1 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1109, allocations: 39.95 kB / 377.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1111, allocations: 155.7 kB / 377.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1113, allocations: 23.97 kB / 377.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.1117, allocations: 383.3 kB / 377.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1119, allocations: 63.7 kB / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.1119, allocations: 12 kB / 377.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.1119, allocations: 8 kB / 377.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.112, allocations: 67.77 kB / 377.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1122, allocations: 119.1 kB / 377.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.1125, allocations: 355 kB / 378.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1125, allocations: 0 / 378.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1125, allocations: 0 / 378.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1125, allocations: 0 / 378.3 MB, free: 1.406 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.0007382/0.1133, allocations: 0.7227 MB / 379 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1133, allocations: 8.031 kB / 379 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.1134, allocations: 34.75 kB / 379.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.1134, allocations: 36.56 kB / 379.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1137, allocations: 282.3 kB / 379.4 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1138, allocations: 12.31 kB / 379.4 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.1138, allocations: 8.375 kB / 379.4 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.1141, allocations: 129.7 kB / 379.5 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1141, allocations: 0 / 379.5 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.1141, allocations: 4 kB / 379.5 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1142, allocations: 0 / 379.5 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1874/0.3016, allocations: 54.48 kB / 379.6 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008978/0.3025, allocations: 458.5 kB / 380 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.3028, allocations: 98.42 kB / 380.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.303, allocations: 85.81 kB / 380.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.303, allocations: 1.375 kB / 380.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003997/0.3034, allocations: 200.4 kB / 380.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.3034, allocations: 0 / 380.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007956/0.3042, allocations: 465.1 kB / 380.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.3043, allocations: 166.2 kB / 381 MB, free: 12.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006473/0.3049, allocations: 0.5155 MB / 381.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.305, allocations: 31.64 kB / 381.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.305, allocations: 98.11 kB / 381.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.3051, allocations: 38.05 kB / 381.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3052, allocations: 79 kB / 381.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.3053, allocations: 322.2 kB / 382.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3055, allocations: 55.16 kB / 382.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3056, allocations: 75.38 kB / 382.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.306, allocations: 345.7 kB / 382.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.306, allocations: 3.938 kB / 382.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000587/0.3066, allocations: 372.5 kB / 382.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.536e-05/0.3067, allocations: 134.4 kB / 383 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3067, allocations: 0.625 kB / 383 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3067, allocations: 0.6562 kB / 383 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.147e-05/0.3067, allocations: 3.094 kB / 383.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3067, allocations: 1.188 kB / 383.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.3069, allocations: 10.58 kB / 383.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.687e-05/0.307, allocations: 40.47 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.0002942/0.3073, allocations: 371.5 kB / 383.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.3073, allocations: 40.67 kB / 383.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.3074, allocations: 67.28 kB / 383.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.3075, allocations: 0.6094 kB / 383.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3075, allocations: 3.812 kB / 383.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3075, allocations: 0.5156 kB / 383.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.3084, allocations: 0.8108 MB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3084, allocations: 0 / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-06/0.3084, allocations: 4.812 kB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3084, allocations: 0.8438 kB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.3085, allocations: 11.84 kB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3085, allocations: 1.875 kB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3085, allocations: 1.156 kB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.3091, allocations: 0.5276 MB / 384.9 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.3095, allocations: 241.5 kB / 385.2 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.3096, allocations: 14.12 kB / 385.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3097, allocations: 9.484 kB / 385.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3098, allocations: 25.02 kB / 385.2 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.3099, allocations: 47.67 kB / 385.3 MB, free: 9.605 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004595/0.3104, allocations: 392.5 kB / 385.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3104, allocations: 0 / 385.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.3107, allocations: 44.66 kB / 385.7 MB, free: 9.391 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.0009611/0.3116, allocations: 1.074 MB / 386.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.3122, allocations: 438.1 kB / 387.2 MB, free: 8.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3122, allocations: 1.438 kB / 387.2 MB, free: 8.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.3125, allocations: 374.9 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.0007208/0.3132, allocations: 128.5 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.003136/0.3164, allocations: 2.745 MB / 390.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3167, allocations: 0.8067 MB / 391.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.189e-05/0.3168, allocations: 11.2 kB / 391.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.3168, allocations: 29.69 kB / 391.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3168, allocations: 0 / 391.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.3419, allocations: 5.874 MB / 397.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.047, allocations: 5.375 kB / 397.2 MB, free: 4.133 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