Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_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.0015/0.0015, allocations: 114.5 kB / 17.07 MB, free: 6.016 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.001679/0.001679, allocations: 189.4 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 51.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.26, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002624/0.2627, allocations: 1.512 MB / 401.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.2646, allocations: 0.8503 MB / 402.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.2647, allocations: 4 kB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.73e-05/0.2648, allocations: 7.922 kB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.915e-05/0.2649, allocations: 15.86 kB / 402.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.2651, allocations: 51.88 kB / 402.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.2654, allocations: 155.7 kB / 402.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.2655, allocations: 19.98 kB / 402.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.2659, allocations: 379.3 kB / 403.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.2661, allocations: 63.75 kB / 403.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.2661, allocations: 12 kB / 403.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.444e-05/0.2662, allocations: 8 kB / 403.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.2663, allocations: 67.7 kB / 403.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.2664, allocations: 119.2 kB / 403.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.2668, allocations: 353.5 kB / 403.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2668, allocations: 0 / 403.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2668, allocations: 0 / 403.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2668, allocations: 4 kB / 403.8 MB, free: 5.227 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.0008267/0.2677, allocations: 0.7266 MB / 404.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2677, allocations: 12.03 kB / 404.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.2678, allocations: 42.69 kB / 404.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.2678, allocations: 44.69 kB / 404.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.2681, allocations: 274.7 kB / 404.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.2682, allocations: 8.375 kB / 404.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.2682, allocations: 12.38 kB / 404.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.2685, allocations: 129.7 kB / 405.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2685, allocations: 0 / 405.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.2686, allocations: 4 kB / 405.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2686, allocations: 0 / 405.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.2687, allocations: 59.91 kB / 405.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.2694, allocations: 468.5 kB / 405.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.2696, allocations: 94.55 kB / 405.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2698, allocations: 80.89 kB / 405.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.2698, allocations: 3.938 kB / 405.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000396/0.2702, allocations: 198.7 kB / 406 MB, free: 2.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.2702, allocations: 0 / 406 MB, free: 2.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008224/0.271, allocations: 464.1 kB / 406.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.2712, allocations: 174.2 kB / 406.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006537/0.2718, allocations: 0.5129 MB / 407.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.2719, allocations: 33.7 kB / 407.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.2719, allocations: 97.12 kB / 407.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.272, allocations: 27.75 kB / 407.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2721, allocations: 81.55 kB / 407.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2723, allocations: 326.8 kB / 407.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2724, allocations: 59.97 kB / 407.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.2726, allocations: 77.67 kB / 407.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.2729, allocations: 345.7 kB / 408.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.273, allocations: 0 / 408.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005414/0.2735, allocations: 368.5 kB / 408.5 MB, free: 168 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.2736, allocations: 130.8 kB / 408.6 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2736, allocations: 4 kB / 408.6 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.569e-05/0.2737, allocations: 12.02 kB / 408.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.137e-05/0.2737, allocations: 112 / 408.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2737, allocations: 3.938 kB / 408.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2738, allocations: 11.94 kB / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.2739, allocations: 40 kB / 408.7 MB, free: 15.94 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.0003941/0.2743, allocations: 362.2 kB / 409 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.2744, allocations: 43.75 kB / 409.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.2745, allocations: 63.16 kB / 409.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2745, allocations: 11.98 kB / 409.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2745, allocations: 0 / 409.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2745, allocations: 0 / 409.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2755, allocations: 0.8055 MB / 410 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2755, allocations: 0 / 410 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-06/0.2756, allocations: 4 kB / 410 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2756, allocations: 0 / 410 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.2756, allocations: 8 kB / 410 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2756, allocations: 0 / 410 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2756, allocations: 3.938 kB / 410 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.2763, allocations: 0.5271 MB / 410.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.2766, allocations: 248.6 kB / 410.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.2767, allocations: 12 kB / 410.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.2768, allocations: 11.98 kB / 410.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2769, allocations: 27.91 kB / 410.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.277, allocations: 47.86 kB / 410.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004716/0.2775, allocations: 386.9 kB / 411.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2775, allocations: 4 kB / 411.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.2778, allocations: 48 kB / 411.3 MB, free: 13.18 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.001055/0.2788, allocations: 1.078 MB / 412.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005639/0.2794, allocations: 441.3 kB / 412.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2794, allocations: 64 / 412.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.2798, allocations: 381.5 kB / 413.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.2804, allocations: 127.1 kB / 413.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.2842, allocations: 2.76 MB / 416 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.2847, allocations: 0.7905 MB / 416.8 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.854e-05/0.2848, allocations: 12.64 kB / 416.8 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.2849, allocations: 31.44 kB / 416.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2849, allocations: 0 / 416.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.3123, allocations: 5.774 MB / 422.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.256, allocations: 7.844 kB / 422.7 MB, free: 1.633 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches