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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009047/0.0009047, allocations: 80.92 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000926/0.000926, allocations: 167 kB / 25.7 MB, free: 8.398 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.791/0.791, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.437e-05, allocations: 10.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.005592/0.005617, allocations: 1.511 MB / 253 MB, free: 5.734 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.007348, allocations: 0.8778 MB / 253.9 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.007418, allocations: 0 / 253.9 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.643e-05/0.007514, allocations: 11.86 kB / 253.9 MB, free: 4.836 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.77e-05/0.007602, allocations: 19.86 kB / 254 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.007863, allocations: 51.83 kB / 254 MB, free: 4.766 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003254/0.01112, allocations: 139.7 kB / 254.1 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.978e-05/0.0112, allocations: 16 kB / 254.2 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.01163, allocations: 391.2 kB / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.01175, allocations: 59.81 kB / 254.6 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.01178, allocations: 8 kB / 254.6 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.239e-05/0.0118, allocations: 8 kB / 254.6 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.01188, allocations: 63.78 kB / 254.7 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.575e-05/0.01195, allocations: 59.78 kB / 254.7 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.01221, allocations: 267 kB / 255 MB, free: 3.773 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.01222, allocations: 0 / 255 MB, free: 3.773 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01222, allocations: 0 / 255 MB, free: 3.773 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.01222, allocations: 0 / 255 MB, free: 3.773 MB / 234.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.0005507/0.01277, allocations: 0.6226 MB / 255.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.01281, allocations: 11.98 kB / 255.6 MB, free: 3.09 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.01287, allocations: 28.92 kB / 255.7 MB, free: 3.062 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.01307, allocations: 216 kB / 255.9 MB, free: 2.824 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.01309, allocations: 4.375 kB / 255.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.01311, allocations: 8.375 kB / 255.9 MB, free: 2.812 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.01338, allocations: 229.7 kB / 256.1 MB, free: 2.555 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.01339, allocations: 192 / 256.1 MB, free: 2.555 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.0134, allocations: 4.375 kB / 256.1 MB, free: 2.551 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.01341, allocations: 7.875 kB / 256.1 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.01351, allocations: 158.7 kB / 256.3 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.01686, allocations: 208.2 kB / 256.5 MB, free: 2.145 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.01704, allocations: 169.3 kB / 256.6 MB, free: 1.945 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.01713, allocations: 155.7 kB / 256.8 MB, free: 1.766 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.01714, allocations: 0 / 256.8 MB, free: 1.766 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.01735, allocations: 301.4 kB / 257.1 MB, free: 1.422 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.01735, allocations: 0 / 257.1 MB, free: 1.422 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003902/0.01774, allocations: 0.5136 MB / 257.6 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.01781, allocations: 170.2 kB / 257.8 MB, free: 0.625 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.01816, allocations: 363.1 kB / 258.1 MB, free: 264 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.01819, allocations: 37.69 kB / 258.2 MB, free: 220 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.01823, allocations: 89.12 kB / 258.2 MB, free: 128 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.01826, allocations: 31.77 kB / 258.3 MB, free: 96 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/0.01834, allocations: 73.5 kB / 258.3 MB, free: 16 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.01844, allocations: 322.8 kB / 258.7 MB, free: 15.69 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.01854, allocations: 142.8 kB / 258.8 MB, free: 15.53 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.01864, allocations: 172.4 kB / 259 MB, free: 15.33 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.01882, allocations: 318.2 kB / 259.3 MB, free: 14.96 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01883, allocations: 4 kB / 259.3 MB, free: 14.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002472/0.01907, allocations: 355.2 kB / 259.6 MB, free: 14.56 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.642e-05/0.01914, allocations: 130.7 kB / 259.8 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.01914, allocations: 4 kB / 259.8 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.01916, allocations: 0 / 259.8 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-05/0.01917, allocations: 0 / 259.8 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.01918, allocations: 0 / 259.8 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.962e-05/0.01928, allocations: 12 kB / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.01932, allocations: 40.02 kB / 259.8 MB, free: 14.35 MB / 250.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.0002703/0.01959, allocations: 345.3 kB / 260.2 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003082/0.02267, allocations: 35.91 kB / 260.2 MB, free: 13.94 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.02278, allocations: 59.08 kB / 260.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.02278, allocations: 112 / 260.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.02278, allocations: 3.938 kB / 260.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.02279, allocations: 0 / 260.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.0233, allocations: 0.5863 MB / 260.8 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.0233, allocations: 4 kB / 260.8 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/0.02331, allocations: 4 kB / 260.8 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.02331, allocations: 7.875 kB / 260.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.02333, allocations: 11.98 kB / 260.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.02333, allocations: 0 / 260.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.02333, allocations: 3.984 kB / 260.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.02365, allocations: 493 kB / 261.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.02388, allocations: 139.4 kB / 261.5 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.02392, allocations: 12 kB / 261.5 MB, free: 12.49 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.02404, allocations: 11.98 kB / 261.5 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.0241, allocations: 19.98 kB / 261.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.02413, allocations: 43.92 kB / 261.6 MB, free: 12.42 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.02427, allocations: 156.6 kB / 261.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02427, allocations: 0 / 261.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000158/0.02443, allocations: 43.94 kB / 261.8 MB, free: 12.22 MB / 250.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.0001023/0.02453, allocations: 96.14 kB / 261.9 MB, free: 12.12 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.02482, allocations: 0.5508 MB / 262.4 MB, free: 11.47 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.02483, allocations: 4 kB / 262.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.02499, allocations: 412 kB / 262.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.02529, allocations: 132.6 kB / 262.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.02726, allocations: 0.7371 MB / 263.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.02733, allocations: 95.27 kB / 263.8 MB, free: 9.965 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.02738, allocations: 8.719 kB / 263.8 MB, free: 9.953 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.02764, allocations: 155.6 kB / 263.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of SimCode: time 1.533e-06/0.02764, allocations: 0 / 263.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of Templates: time 0.004913/0.03255, allocations: 4.337 MB / 268.3 MB, free: 5.484 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5292415348812938]