Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 178.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.7 MB / 243.2 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007778/0.0007776, allocations: 86.27 kB / 294.4 MB, free: 9.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002757, allocations: 8 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2506, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001323/0.252, allocations: 1.209 MB / 405.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2534, allocations: 1.15 MB / 406.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.2535, allocations: 1.062 kB / 406.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.447e-05/0.2536, allocations: 7.922 kB / 406.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.2536, allocations: 12.45 kB / 406.9 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.2539, allocations: 45.55 kB / 407 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.254, allocations: 111.8 kB / 407.1 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.2541, allocations: 12.5 kB / 407.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.2544, allocations: 384.3 kB / 407.5 MB, free: 28.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.2545, allocations: 63.69 kB / 407.6 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.2546, allocations: 4 kB / 407.6 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.545e-05/0.2546, allocations: 5.25 kB / 407.6 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.2547, allocations: 63.7 kB / 407.6 MB, free: 28.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.724e-05/0.2548, allocations: 136.9 kB / 407.8 MB, free: 28.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.255, allocations: 337.3 kB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.255, allocations: 0 / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.255, allocations: 0 / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.255, allocations: 0 / 408.1 MB, free: 27.72 MB / 298.7 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.0004411/0.2555, allocations: 0.6626 MB / 408.7 MB, free: 26.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2555, allocations: 12.03 kB / 408.8 MB, free: 26.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.2556, allocations: 37.06 kB / 408.8 MB, free: 26.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.2558, allocations: 270.3 kB / 409.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2558, allocations: 12.97 kB / 409.1 MB, free: 26.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.2559, allocations: 9.688 kB / 409.1 MB, free: 26.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.2561, allocations: 125.9 kB / 409.2 MB, free: 26.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.2561, allocations: 0 / 409.2 MB, free: 26.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.2562, allocations: 5.75 kB / 409.2 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2562, allocations: 0 / 409.2 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.2563, allocations: 59.95 kB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.2568, allocations: 464.5 kB / 409.7 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.257, allocations: 94.53 kB / 409.8 MB, free: 25.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.2571, allocations: 80.89 kB / 409.9 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.2571, allocations: 0 / 409.9 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.2574, allocations: 206.7 kB / 410.1 MB, free: 25.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.2574, allocations: 3.938 kB / 410.1 MB, free: 25.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005972/0.258, allocations: 464 kB / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.2581, allocations: 166.2 kB / 410.7 MB, free: 24.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.2585, allocations: 0.5052 MB / 411.2 MB, free: 24.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2586, allocations: 33.7 kB / 411.3 MB, free: 24.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.2586, allocations: 101 kB / 411.4 MB, free: 24.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.2586, allocations: 27.66 kB / 411.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.2587, allocations: 7.984 kB / 411.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.2587, allocations: 326.8 kB / 411.7 MB, free: 23.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2588, allocations: 55.97 kB / 411.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.2589, allocations: 77.66 kB / 411.8 MB, free: 23.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.2592, allocations: 335.3 kB / 412.2 MB, free: 23.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2592, allocations: 0 / 412.2 MB, free: 23.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003754/0.2595, allocations: 376.7 kB / 412.5 MB, free: 22.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/0.2596, allocations: 134.8 kB / 412.7 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2596, allocations: 3.984 kB / 412.7 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2596, allocations: 0 / 412.7 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.048e-05/0.2597, allocations: 7.938 kB / 412.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2597, allocations: 0 / 412.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.2598, allocations: 23.83 kB / 412.7 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.2599, allocations: 36 kB / 412.7 MB, free: 22.66 MB / 298.7 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,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: 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.0002409/0.2601, allocations: 366.4 kB / 413.1 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.2602, allocations: 47.56 kB / 413.1 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.511e-05/0.2603, allocations: 71.14 kB / 413.2 MB, free: 22.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2603, allocations: 0 / 413.2 MB, free: 22.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2603, allocations: 0 / 413.2 MB, free: 22.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2603, allocations: 3.984 kB / 413.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.261, allocations: 0.7939 MB / 414 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.261, allocations: 0 / 414 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-06/0.261, allocations: 3.984 kB / 414 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.261, allocations: 4 kB / 414 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.261, allocations: 12 kB / 414 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.261, allocations: 0 / 414 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2611, allocations: 7.875 kB / 414 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.2615, allocations: 0.525 MB / 414.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.2618, allocations: 244.4 kB / 414.8 MB, free: 20.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.2618, allocations: 12 kB / 414.8 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.2619, allocations: 11.98 kB / 414.8 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.2621, allocations: 31.92 kB / 414.9 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.2621, allocations: 47.91 kB / 414.9 MB, free: 20.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003624/0.2625, allocations: 382.9 kB / 415.3 MB, free: 19.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2625, allocations: 0 / 415.3 MB, free: 19.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.2627, allocations: 44 kB / 415.3 MB, free: 19.9 MB / 298.7 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.000125/0.2629, allocations: 123 kB / 415.4 MB, free: 19.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.2633, allocations: 441.5 kB / 415.9 MB, free: 19.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2633, allocations: 4.062 kB / 415.9 MB, free: 19.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.2635, allocations: 369.6 kB / 416.2 MB, free: 18.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.264, allocations: 110.8 kB / 416.3 MB, free: 18.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.2649, allocations: 0.7621 MB / 417.1 MB, free: 17.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.2652, allocations: 0.8024 MB / 417.9 MB, free: 17.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.584e-05/0.2652, allocations: 12.66 kB / 417.9 MB, free: 17.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.2653, allocations: 7.438 kB / 417.9 MB, free: 17.13 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2653, allocations: 4 kB / 417.9 MB, free: 17.12 MB / 298.7 MB Notification: Performance of Templates: time 0.005508/0.2708, allocations: 3.843 MB / 421.8 MB, free: 13.32 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches