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.0014/0.0014, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 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.00162/0.00162, allocations: 160.3 kB / 24.49 MB, free: 3.453 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.456/1.456, allocations: 177.1 MB / 204.7 MB, free: 9.027 MB / 190.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.001915/0.001915, allocations: 62.08 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1173, allocations: 53.4 MB / 378.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002896/0.1202, allocations: 1.493 MB / 380.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1222, allocations: 0.8304 MB / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.1223, allocations: 4 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.763e-05/0.1224, allocations: 15.8 kB / 381.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.44e-05/0.1224, allocations: 15.86 kB / 381.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1227, allocations: 47.89 kB / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.123, allocations: 139.7 kB / 381.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1231, allocations: 15.98 kB / 381.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.1236, allocations: 391.2 kB / 381.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1237, allocations: 67.64 kB / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.1238, allocations: 8 kB / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-05/0.1238, allocations: 12 kB / 381.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/0.1239, allocations: 59.77 kB / 382 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.124, allocations: 83.34 kB / 382.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.1244, allocations: 366.4 kB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1244, allocations: 4 kB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1244, allocations: 0 / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1245, allocations: 0 / 382.4 MB, free: 11.96 MB / 350.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.0007955/0.1252, allocations: 0.6591 MB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1253, allocations: 15.98 kB / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.1254, allocations: 36.7 kB / 383.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.1257, allocations: 216.8 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.1257, allocations: 8.359 kB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.1257, allocations: 8.375 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.1261, allocations: 248.5 kB / 383.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1261, allocations: 0 / 383.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.1261, allocations: 12 kB / 383.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1261, allocations: 0 / 383.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.1263, allocations: 178.7 kB / 383.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.1269, allocations: 380.2 kB / 384.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1272, allocations: 197.3 kB / 384.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.1274, allocations: 183.7 kB / 384.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1274, allocations: 0 / 384.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004429/0.1278, allocations: 321.4 kB / 384.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.1278, allocations: 0 / 384.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009561/0.1288, allocations: 0.7089 MB / 385.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1289, allocations: 170.2 kB / 385.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/0.1296, allocations: 0.5168 MB / 386.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.1296, allocations: 33.69 kB / 386.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.1297, allocations: 97.14 kB / 386.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.1297, allocations: 27.78 kB / 386.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1298, allocations: 81.52 kB / 386.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.13, allocations: 326.8 kB / 386.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.1302, allocations: 178.8 kB / 387 MB, free: 6.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1304, allocations: 192.5 kB / 387.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.1307, allocations: 355.2 kB / 387.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1307, allocations: 0 / 387.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006021/0.1313, allocations: 499.1 kB / 388 MB, free: 5.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.776e-05/0.1314, allocations: 130.8 kB / 388.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1314, allocations: 0 / 388.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1315, allocations: 4 kB / 388.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.01e-05/0.1315, allocations: 0 / 388.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1315, allocations: 4.062 kB / 388.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.1316, allocations: 15.94 kB / 388.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.1317, allocations: 44.03 kB / 388.2 MB, free: 5.582 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.0003624/0.1321, allocations: 358.4 kB / 388.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.1321, allocations: 39.77 kB / 388.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1322, allocations: 67.08 kB / 388.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1322, allocations: 4 kB / 388.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1322, allocations: 0 / 388.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1322, allocations: 0 / 388.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1332, allocations: 0.8659 MB / 389.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1332, allocations: 0 / 389.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-06/0.1332, allocations: 0 / 389.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1332, allocations: 4 kB / 389.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.1333, allocations: 23.92 kB / 389.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1333, allocations: 0 / 389.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1333, allocations: 192 / 389.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.134, allocations: 0.6529 MB / 390.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.1344, allocations: 201.5 kB / 390.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.1345, allocations: 16 kB / 390.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1346, allocations: 15.97 kB / 390.4 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1347, allocations: 23.98 kB / 390.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.1347, allocations: 43.92 kB / 390.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004728/0.1352, allocations: 386.9 kB / 390.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1352, allocations: 7.938 kB / 390.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1355, allocations: 51.94 kB / 390.9 MB, free: 2.664 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.0001425/0.1357, allocations: 111 kB / 391 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006958/0.1364, allocations: 0.6124 MB / 391.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1364, allocations: 0 / 391.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.1367, allocations: 420.4 kB / 392.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.1373, allocations: 128.8 kB / 392.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.1385, allocations: 0.781 MB / 393 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.1388, allocations: 197.7 kB / 393.2 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.1388, allocations: 4.734 kB / 393.2 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.1388, allocations: 12.5 kB / 393.2 MB, free: 180 kB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1388, allocations: 0 / 393.2 MB, free: 180 kB / 350.1 MB Notification: Performance of Templates: time 0.008558/0.1474, allocations: 4.783 MB / 398 MB, free: 11.44 MB / 366.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/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.400832158047706]