Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009728/0.0009728, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009266/0.0009266, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9462/0.9462, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.961e-05, allocations: 5.266 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001974/0.002003, allocations: 1.541 MB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.003316, allocations: 0.8652 MB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.003359, allocations: 0 / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.192e-05/0.00345, allocations: 11.86 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.00352, allocations: 15.86 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.003749, allocations: 55.88 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.003904, allocations: 135.7 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.673e-05/0.003991, allocations: 19.92 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.004337, allocations: 407.3 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.004428, allocations: 59.75 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.004458, allocations: 12 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.124e-05/0.004479, allocations: 8 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.004546, allocations: 63.78 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.537e-05/0.004612, allocations: 59.72 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.004826, allocations: 267 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004828, allocations: 0 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004829, allocations: 0 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.004833, allocations: 0 / 276.4 MB, free: 13.94 MB / 266.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.0006156/0.005448, allocations: 0.7824 MB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.0055, allocations: 15.98 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.005626, allocations: 44.7 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.005886, allocations: 222.9 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.005911, allocations: 4.375 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.005934, allocations: 8.375 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.006237, allocations: 241.7 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.006249, allocations: 192 / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.006267, allocations: 4.375 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.006276, allocations: 3.938 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.00639, allocations: 178.6 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.006965, allocations: 495.4 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.007122, allocations: 193.8 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.007288, allocations: 170.5 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.007297, allocations: 3.938 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.007537, allocations: 323.1 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.007539, allocations: 0 / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006209/0.00816, allocations: 0.6776 MB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.008228, allocations: 170.2 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.008803, allocations: 0.6271 MB / 280.5 MB, free: 9.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.008824, allocations: 29.7 kB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.008885, allocations: 147.9 kB / 280.7 MB, free: 9.199 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.008913, allocations: 23.86 kB / 280.7 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.00899, allocations: 87.16 kB / 280.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.009108, allocations: 0.4923 MB / 281.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.009214, allocations: 162.8 kB / 281.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.00932, allocations: 190.1 kB / 281.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.009501, allocations: 336.5 kB / 282 MB, free: 7.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009503, allocations: 0 / 282 MB, free: 7.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003376/0.00984, allocations: 487 kB / 282.5 MB, free: 7.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.709e-05/0.009908, allocations: 129.4 kB / 282.6 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.009913, allocations: 0 / 282.6 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.009932, allocations: 0 / 282.6 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.532e-05/0.009957, allocations: 4 kB / 282.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.009962, allocations: 0 / 282.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01007, allocations: 24.06 kB / 282.6 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.01012, allocations: 48.06 kB / 282.7 MB, free: 7.039 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.0003434/0.01047, allocations: 389.2 kB / 283 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.01054, allocations: 55.69 kB / 283.1 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.01065, allocations: 55.09 kB / 283.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01065, allocations: 0 / 283.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.01066, allocations: 0 / 283.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01066, allocations: 0 / 283.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.01181, allocations: 0.9478 MB / 284.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01181, allocations: 0 / 284.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-06/0.01182, allocations: 0 / 284.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.01182, allocations: 8 kB / 284.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.01185, allocations: 19.92 kB / 284.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01186, allocations: 0 / 284.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01186, allocations: 0 / 284.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.01256, allocations: 0.6925 MB / 284.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.01292, allocations: 185.4 kB / 285 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.01298, allocations: 8 kB / 285 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.01312, allocations: 12 kB / 285 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.01324, allocations: 19.97 kB / 285 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.01329, allocations: 47.92 kB / 285.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005627/0.01386, allocations: 434.7 kB / 285.5 MB, free: 4 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01386, allocations: 0 / 285.5 MB, free: 4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.01418, allocations: 44 kB / 285.5 MB, free: 3.957 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 0.0001459/0.01433, allocations: 111 kB / 285.7 MB, free: 3.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005747/0.0149, allocations: 0.6005 MB / 286.3 MB, free: 3.133 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.0149, allocations: 0 / 286.3 MB, free: 3.133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.01521, allocations: 424 kB / 286.7 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.01584, allocations: 143.4 kB / 286.8 MB, free: 2.512 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.01702, allocations: 0.7524 MB / 287.6 MB, free: 1.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.01713, allocations: 99.2 kB / 287.7 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.656e-05/0.01719, allocations: 12.7 kB / 287.7 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.01723, allocations: 16.5 kB / 287.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of SimCode: time 1.432e-06/0.01723, allocations: 0 / 287.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of Templates: time 0.007784/0.02501, allocations: 4.763 MB / 292.4 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0023221410810947]