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.001801/0.001801, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001818/0.001818, allocations: 160.9 kB / 24.26 MB, free: 148 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 1.496/1.496, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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 1.423e-06/1.423e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.566e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002986/0.003011, allocations: 1.503 MB / 273.7 MB, free: 296 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.005316, allocations: 0.834 MB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.005383, allocations: 0 / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.005487, allocations: 11.92 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.005581, allocations: 23.8 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.005874, allocations: 51.81 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.00611, allocations: 147.7 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.006198, allocations: 8 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005956/0.006793, allocations: 415.2 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.006946, allocations: 55.81 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.006989, allocations: 12 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.91e-05/0.007018, allocations: 11.94 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.007352, allocations: 63.78 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.00746, allocations: 55.78 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.007928, allocations: 354.8 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.007933, allocations: 0 / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007934, allocations: 0 / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.007943, allocations: 8 kB / 275.7 MB, free: 14.25 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.0009322/0.008875, allocations: 0.6474 MB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.008916, allocations: 11.98 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.009037, allocations: 48.7 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.009363, allocations: 216.1 kB / 276.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.00939, allocations: 8.375 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.00942, allocations: 12.31 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.009862, allocations: 245 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.009871, allocations: 192 / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.009895, allocations: 4.375 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.009903, allocations: 7.938 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.01015, allocations: 178.8 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007697/0.01092, allocations: 388.2 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.01121, allocations: 189.4 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.01146, allocations: 183.7 kB / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.01148, allocations: 3.938 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004926/0.01197, allocations: 329.4 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.01197, allocations: 0 / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00111/0.01308, allocations: 0.701 MB / 278.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.01321, allocations: 174.2 kB / 279 MB, free: 10.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000771/0.01398, allocations: 0.5169 MB / 279.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.01402, allocations: 29.7 kB / 279.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.01411, allocations: 101.1 kB / 279.7 MB, free: 9.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.01415, allocations: 23.8 kB / 279.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.01429, allocations: 89.5 kB / 279.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.01448, allocations: 322.8 kB / 280.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.01472, allocations: 170.8 kB / 280.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.01496, allocations: 192.5 kB / 280.5 MB, free: 9.039 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.01539, allocations: 351.3 kB / 280.8 MB, free: 8.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01539, allocations: 4 kB / 280.8 MB, free: 8.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007089/0.0161, allocations: 0.5026 MB / 281.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.01621, allocations: 126.8 kB / 281.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01622, allocations: 3.984 kB / 281.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.01624, allocations: 0 / 281.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.067e-05/0.01626, allocations: 4 kB / 281.4 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.01627, allocations: 3.938 kB / 281.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.01642, allocations: 8 kB / 281.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.01648, allocations: 39.98 kB / 281.5 MB, free: 7.875 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.0003981/0.01688, allocations: 362.6 kB / 281.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.01697, allocations: 59.69 kB / 281.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.01707, allocations: 63.08 kB / 282 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01708, allocations: 3.938 kB / 282 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01708, allocations: 4 kB / 282 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.01708, allocations: 0 / 282 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.01848, allocations: 0.8665 MB / 282.8 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01848, allocations: 0 / 282.8 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-06/0.01849, allocations: 0 / 282.8 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01849, allocations: 0 / 282.8 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.01852, allocations: 20 kB / 282.9 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01852, allocations: 0 / 282.9 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01852, allocations: 0 / 282.9 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.01939, allocations: 0.6608 MB / 283.5 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.01977, allocations: 209.3 kB / 283.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.01982, allocations: 12.19 kB / 283.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.01997, allocations: 12 kB / 283.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.02007, allocations: 23.97 kB / 283.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.02013, allocations: 43.94 kB / 283.8 MB, free: 5.371 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005566/0.02069, allocations: 390.9 kB / 284.2 MB, free: 4.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02069, allocations: 0 / 284.2 MB, free: 4.988 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.02099, allocations: 48 kB / 284.2 MB, free: 4.941 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.0001695/0.02116, allocations: 111 kB / 284.3 MB, free: 4.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007507/0.02191, allocations: 0.6085 MB / 285 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02191, allocations: 0 / 285 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.02237, allocations: 428.3 kB / 285.4 MB, free: 3.621 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006576/0.02303, allocations: 138 kB / 285.5 MB, free: 3.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.02436, allocations: 0.7978 MB / 286.3 MB, free: 2.648 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.02465, allocations: 197.7 kB / 286.5 MB, free: 2.434 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.801e-05/0.02471, allocations: 12.7 kB / 286.5 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.02474, allocations: 12.5 kB / 286.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02474, allocations: 3.938 kB / 286.5 MB, free: 2.402 MB / 266.7 MB Notification: Performance of Templates: time 0.009939/0.03468, allocations: 4.754 MB / 291.3 MB, free: 13.7 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=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.337212059996091]