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.001568/0.001568, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001703/0.001703, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.546/1.546, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00205/0.00205, allocations: 59.91 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3397, allocations: 53.42 MB / 431.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003172/0.3429, allocations: 1.487 MB / 433.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.3454, allocations: 0.8381 MB / 434 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3455, allocations: 0 / 434 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.3456, allocations: 11.86 kB / 434 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.3458, allocations: 19.84 kB / 434 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.3462, allocations: 55.89 kB / 434 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.3465, allocations: 131.7 kB / 434.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3466, allocations: 19.98 kB / 434.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006392/0.3473, allocations: 387.3 kB / 434.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.3475, allocations: 63.69 kB / 434.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.3475, allocations: 8 kB / 434.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.922e-05/0.3476, allocations: 16 kB / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.3477, allocations: 67.69 kB / 434.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.3478, allocations: 79.36 kB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.3483, allocations: 363.7 kB / 435.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3483, allocations: 0 / 435.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.3483, allocations: 0 / 435.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3483, allocations: 0 / 435.2 MB, free: 3.027 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.001063/0.3494, allocations: 0.6552 MB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3494, allocations: 11.98 kB / 435.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/0.3495, allocations: 40.7 kB / 435.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.3499, allocations: 224.8 kB / 436.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.35, allocations: 4.375 kB / 436.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.35, allocations: 8.375 kB / 436.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.3504, allocations: 248.7 kB / 436.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3505, allocations: 0 / 436.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.3505, allocations: 4 kB / 436.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.3505, allocations: 0 / 436.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.3507, allocations: 178.7 kB / 436.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.3515, allocations: 396.1 kB / 436.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.3517, allocations: 193.2 kB / 437.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.352, allocations: 183.7 kB / 437.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.352, allocations: 0 / 437.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.3525, allocations: 329.5 kB / 437.6 MB, free: 320 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.3525, allocations: 0 / 437.6 MB, free: 320 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001089/0.3535, allocations: 0.6854 MB / 438.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.3537, allocations: 170.2 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000819/0.3545, allocations: 0.513 MB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.3545, allocations: 29.7 kB / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3546, allocations: 105.1 kB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.3547, allocations: 23.86 kB / 439.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.3549, allocations: 85.5 kB / 439.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.355, allocations: 326.8 kB / 439.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.3553, allocations: 174.8 kB / 439.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.3555, allocations: 192.5 kB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.3559, allocations: 354.2 kB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3559, allocations: 0 / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006803/0.3566, allocations: 495.1 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.3567, allocations: 126.8 kB / 440.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3567, allocations: 0 / 440.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3567, allocations: 8.016 kB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.31e-05/0.3567, allocations: 4 kB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3567, allocations: 0 / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3569, allocations: 11.95 kB / 440.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.357, allocations: 39.98 kB / 440.9 MB, free: 12.68 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.0004016/0.3574, allocations: 371.1 kB / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.3574, allocations: 35.92 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.3575, allocations: 67.02 kB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3575, allocations: 0 / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3575, allocations: 4 kB / 441.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3575, allocations: 0 / 441.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.3587, allocations: 0.8587 MB / 442.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3587, allocations: 0 / 442.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.3587, allocations: 4 kB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3587, allocations: 0 / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.3588, allocations: 12 kB / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3588, allocations: 3.938 kB / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3588, allocations: 0 / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008082/0.3596, allocations: 0.6487 MB / 442.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.36, allocations: 205.5 kB / 443.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.36, allocations: 19.98 kB / 443.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.3602, allocations: 12 kB / 443.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.3603, allocations: 23.97 kB / 443.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.3604, allocations: 43.94 kB / 443.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005143/0.3609, allocations: 394.9 kB / 443.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3609, allocations: 0 / 443.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.3612, allocations: 43.94 kB / 443.6 MB, free: 9.773 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.0001581/0.3613, allocations: 111 kB / 443.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007338/0.3621, allocations: 0.6046 MB / 444.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3621, allocations: 3.938 kB / 444.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.3625, allocations: 428.3 kB / 444.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.3632, allocations: 129.7 kB / 444.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.3645, allocations: 0.7771 MB / 445.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3648, allocations: 189.7 kB / 445.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.465e-05/0.3648, allocations: 8.656 kB / 445.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.3649, allocations: 23.44 kB / 445.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3649, allocations: 0 / 445.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of Templates: time 0.009805/0.3747, allocations: 4.825 MB / 450.7 MB, free: 2.5 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.725866463035345]