Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001541/0.001541, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001484/0.001484, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3479, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003368/0.3513, allocations: 1.554 MB / 433.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3535, allocations: 0.8926 MB / 434.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.3536, allocations: 4 kB / 434.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.3537, allocations: 11.86 kB / 434.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.269e-05/0.3538, allocations: 11.88 kB / 434.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.3541, allocations: 59.86 kB / 434.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.3544, allocations: 135.7 kB / 435.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3545, allocations: 12 kB / 435.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005348/0.355, allocations: 403.2 kB / 435.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3552, allocations: 67.77 kB / 435.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.3552, allocations: 8 kB / 435.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.028e-05/0.3553, allocations: 15.94 kB / 435.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.3554, allocations: 59.77 kB / 435.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.3555, allocations: 115.1 kB / 435.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.356, allocations: 361.2 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.356, allocations: 0 / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.356, allocations: 0 / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.356, allocations: 0 / 436.1 MB, free: 3.281 MB / 334.1 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.0009779/0.357, allocations: 0.6552 MB / 436.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.357, allocations: 8.031 kB / 436.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.3571, allocations: 40.7 kB / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.3574, allocations: 212.8 kB / 437 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3574, allocations: 8.375 kB / 437 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.3574, allocations: 8.375 kB / 437 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.3577, allocations: 133.8 kB / 437.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3578, allocations: 0 / 437.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3578, allocations: 4 kB / 437.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3578, allocations: 7.938 kB / 437.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.3579, allocations: 59.95 kB / 437.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.3587, allocations: 431.5 kB / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3589, allocations: 74.53 kB / 437.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.359, allocations: 60.89 kB / 437.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.359, allocations: 0 / 437.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004671/0.3595, allocations: 200 kB / 438 MB, free: 1.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3595, allocations: 0 / 438 MB, free: 1.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009515/0.3604, allocations: 467.6 kB / 438.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.3606, allocations: 170.3 kB / 438.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.3613, allocations: 0.5207 MB / 439.1 MB, free: 20 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.3613, allocations: 25.7 kB / 439.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.3614, allocations: 101.1 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.3615, allocations: 35.78 kB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3616, allocations: 89.5 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3618, allocations: 322.8 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3619, allocations: 55.97 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.3621, allocations: 69.69 kB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.3625, allocations: 335.3 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3625, allocations: 4 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005966/0.3631, allocations: 368.3 kB / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.3632, allocations: 130.8 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3632, allocations: 0 / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3632, allocations: 0 / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.681e-05/0.3632, allocations: 128 / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3633, allocations: 4 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.3634, allocations: 19.94 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.3635, allocations: 36 kB / 440.7 MB, free: 14.32 MB / 350.1 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.0004184/0.3639, allocations: 366.2 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.3639, allocations: 35.81 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.3641, allocations: 67.08 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.3641, allocations: 4 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3641, allocations: 0 / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3641, allocations: 0 / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.3652, allocations: 0.7886 MB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3652, allocations: 0 / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.3652, allocations: 0 / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3652, allocations: 4 kB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.3652, allocations: 11.98 kB / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3652, allocations: 0 / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3652, allocations: 7.938 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/0.366, allocations: 0.5292 MB / 442.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.3663, allocations: 205.3 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.3664, allocations: 8 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3665, allocations: 15.98 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3666, allocations: 27.92 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.3667, allocations: 47.92 kB / 442.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005135/0.3672, allocations: 386.9 kB / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3672, allocations: 0 / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.3675, allocations: 40 kB / 443.2 MB, free: 11.65 MB / 350.1 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.000162/0.3677, allocations: 119.1 kB / 443.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005457/0.3682, allocations: 377.5 kB / 443.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3682, allocations: 4.062 kB / 443.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.3685, allocations: 297.6 kB / 444 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.3692, allocations: 117 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.3704, allocations: 0.661 MB / 444.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.371, allocations: 0.8022 MB / 445.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.084e-05/0.371, allocations: 12.66 kB / 445.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.3711, allocations: 11.44 kB / 445.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3711, allocations: 3.938 kB / 445.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of Templates: time 0.008773/0.3798, allocations: 4.424 MB / 450 MB, free: 4.727 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.778229437768459]