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.000772/0.000772, allocations: 84 kB / 21.43 MB, free: 3.129 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.003065/0.003065, allocations: 145.8 kB / 24.68 MB, free: 9.426 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.8161/0.8161, allocations: 173.4 MB / 201.2 MB, free: 9.434 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.212e-06/1.212e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.841e-05, allocations: 2.281 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001873/0.001892, allocations: 1.479 MB / 321.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003148, allocations: 0.8069 MB / 322 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.00319, allocations: 0 / 322 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.341e-05/0.003274, allocations: 11.88 kB / 322 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.37e-05/0.003337, allocations: 15.86 kB / 322 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.003559, allocations: 59.81 kB / 322.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.003713, allocations: 135.6 kB / 322.2 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.003803, allocations: 15.97 kB / 322.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.004114, allocations: 415.2 kB / 322.6 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.004204, allocations: 59.83 kB / 322.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.004233, allocations: 8 kB / 322.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.004254, allocations: 8 kB / 322.7 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.004317, allocations: 71.7 kB / 322.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.873e-05/0.004386, allocations: 55.73 kB / 322.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.004633, allocations: 354.9 kB / 323.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004636, allocations: 4 kB / 323.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004636, allocations: 4 kB / 323.2 MB, free: 2.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004641, allocations: 0 / 323.2 MB, free: 2.352 MB / 282.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.0004926/0.005133, allocations: 0.6507 MB / 323.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.005165, allocations: 8.922 kB / 323.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.005215, allocations: 44.64 kB / 323.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.00541, allocations: 220 kB / 324.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.005427, allocations: 8.375 kB / 324.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.005444, allocations: 8.375 kB / 324.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.005685, allocations: 241 kB / 324.3 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.005693, allocations: 192 / 324.3 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.005709, allocations: 8.375 kB / 324.3 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.005714, allocations: 3.938 kB / 324.3 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.00583, allocations: 178.7 kB / 324.5 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.006228, allocations: 380.3 kB / 324.9 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.006383, allocations: 193.3 kB / 325.1 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.006493, allocations: 183.6 kB / 325.3 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.006503, allocations: 3.938 kB / 325.3 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.006752, allocations: 325.5 kB / 325.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.006753, allocations: 4 kB / 325.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005462/0.0073, allocations: 0.688 MB / 326.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.00736, allocations: 174.2 kB / 326.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.007744, allocations: 0.513 MB / 327 MB, free: 14.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.007763, allocations: 29.7 kB / 327 MB, free: 14.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.007809, allocations: 105.1 kB / 327.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.007834, allocations: 31.78 kB / 327.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.007901, allocations: 77.52 kB / 327.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.007974, allocations: 322.8 kB / 327.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.008082, allocations: 178.8 kB / 327.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.008193, allocations: 192.5 kB / 327.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.008658, allocations: 363.3 kB / 328.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.00866, allocations: 0 / 328.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003367/0.008997, allocations: 0.4914 MB / 328.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.009049, allocations: 134.7 kB / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.009055, allocations: 0 / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.009066, allocations: 0 / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.684e-05/0.009083, allocations: 4 kB / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.009087, allocations: 0 / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.009168, allocations: 11.98 kB / 328.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.009201, allocations: 40.03 kB / 328.9 MB, free: 12 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,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.0002079/0.009409, allocations: 366.5 kB / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.009438, allocations: 43.7 kB / 329.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.009506, allocations: 63.08 kB / 329.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.009508, allocations: 0 / 329.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.009513, allocations: 4.125 kB / 329.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009516, allocations: 4 kB / 329.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/0.01008, allocations: 0.8575 MB / 330.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01008, allocations: 0 / 330.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-06/0.01008, allocations: 0 / 330.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01008, allocations: 7.984 kB / 330.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.0101, allocations: 16 kB / 330.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.0101, allocations: 0 / 330.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0101, allocations: 0 / 330.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.01051, allocations: 0.657 MB / 330.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.01073, allocations: 209.3 kB / 331.1 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.01076, allocations: 12 kB / 331.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.01083, allocations: 11.98 kB / 331.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.0109, allocations: 31.91 kB / 331.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.01093, allocations: 39.94 kB / 331.2 MB, free: 9.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002744/0.01121, allocations: 390.9 kB / 331.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01121, allocations: 0 / 331.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.01138, allocations: 51.95 kB / 331.6 MB, free: 9.062 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 8.241e-05/0.01147, allocations: 115 kB / 331.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003651/0.01183, allocations: 0.6007 MB / 332.4 MB, free: 8.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01183, allocations: 0 / 332.4 MB, free: 8.242 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.01202, allocations: 428.3 kB / 332.8 MB, free: 7.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.01237, allocations: 126.4 kB / 332.9 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.01308, allocations: 0.821 MB / 333.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.01323, allocations: 189.7 kB / 333.9 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.01325, allocations: 16.5 kB / 333.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01325, allocations: 0 / 333.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of Templates: time 0.002983/0.01623, allocations: 2.519 MB / 336.4 MB, free: 4.035 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.380541272461414]