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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.000905, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008561/0.0008561, allocations: 148.5 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9777/0.9777, allocations: 173.4 MB / 201.5 MB, free: 8.734 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 268.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.702e-05, allocations: 6.109 kB / 268.5 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001821/0.001838, allocations: 1.528 MB / 270 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.003536, allocations: 0.8339 MB / 270.8 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.003616, allocations: 4 kB / 270.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.003727, allocations: 11.86 kB / 270.8 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.003822, allocations: 19.86 kB / 270.9 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.004142, allocations: 51.88 kB / 270.9 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.004355, allocations: 143.7 kB / 271.1 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.004452, allocations: 15.98 kB / 271.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004298/0.004882, allocations: 383.2 kB / 271.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.004993, allocations: 59.81 kB / 271.5 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.005025, allocations: 12 kB / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.35e-05/0.005048, allocations: 8 kB / 271.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.005121, allocations: 63.78 kB / 271.6 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.005184, allocations: 55.72 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.005394, allocations: 263 kB / 271.9 MB, free: 2.586 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.005395, allocations: 4 kB / 271.9 MB, free: 2.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005396, allocations: 4 kB / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.005399, allocations: 0 / 271.9 MB, free: 2.578 MB / 250.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.0004812/0.00588, allocations: 0.6148 MB / 272.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.005911, allocations: 8.922 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.00596, allocations: 28.91 kB / 272.6 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.006139, allocations: 220 kB / 272.8 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.006155, allocations: 8.312 kB / 272.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.006173, allocations: 8.375 kB / 272.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.006384, allocations: 225.7 kB / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.006391, allocations: 4.188 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.006406, allocations: 8.359 kB / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.006412, allocations: 3.938 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.006501, allocations: 154.7 kB / 273.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.006771, allocations: 196.2 kB / 273.4 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.006889, allocations: 177.3 kB / 273.5 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.00697, allocations: 151.7 kB / 273.7 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.006977, allocations: 4 kB / 273.7 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.007155, allocations: 304.2 kB / 274 MB, free: 244 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.007157, allocations: 0 / 274 MB, free: 244 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003291/0.007486, allocations: 0.5137 MB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.007551, allocations: 170.2 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.007874, allocations: 363.1 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.007898, allocations: 33.7 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.007933, allocations: 93.08 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.007957, allocations: 27.78 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.008025, allocations: 81.48 kB / 275.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.008103, allocations: 326.8 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.008183, allocations: 146.8 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-05/0.008263, allocations: 172.5 kB / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.008416, allocations: 307.3 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.008418, allocations: 0 / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002041/0.008622, allocations: 358.9 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.008681, allocations: 130.7 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.008685, allocations: 0 / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.008694, allocations: 0 / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.431e-05/0.008708, allocations: 8.031 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.008712, allocations: 3.984 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.008784, allocations: 8 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.008819, allocations: 40.05 kB / 276.7 MB, free: 13.16 MB / 266.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,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.0002237/0.009043, allocations: 345.3 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.009077, allocations: 39.91 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.786e-05/0.009155, allocations: 55.08 kB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.009156, allocations: 0 / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.00916, allocations: 4 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.009164, allocations: 7.984 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.009568, allocations: 0.5939 MB / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.00957, allocations: 0 / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-06/0.009574, allocations: 0 / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.009577, allocations: 7.875 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.009592, allocations: 7.984 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.009594, allocations: 0 / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009596, allocations: 4 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.009882, allocations: 485.1 kB / 278.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.01008, allocations: 147.4 kB / 278.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.01012, allocations: 16 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.01019, allocations: 8 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.01025, allocations: 19.97 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.01029, allocations: 32.19 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.01043, allocations: 156.6 kB / 278.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01043, allocations: 0 / 278.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.01061, allocations: 44 kB / 278.7 MB, free: 11.04 MB / 266.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 9.381e-05/0.01071, allocations: 104.1 kB / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.011, allocations: 0.5547 MB / 279.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.011, allocations: 4 kB / 279.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.01118, allocations: 412.1 kB / 279.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.01147, allocations: 126.3 kB / 279.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/0.01217, allocations: 0.7379 MB / 280.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.624e-05/0.01223, allocations: 99.25 kB / 280.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.01227, allocations: 8.719 kB / 280.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.01248, allocations: 155.6 kB / 280.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01249, allocations: 3.938 kB / 280.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of Templates: time 0.005216/0.0177, allocations: 4.359 MB / 285.2 MB, free: 4.305 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5853562131524086]