Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 121.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.932/1.932, allocations: 207.6 MB / 231.8 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 56.88 kB / 342.7 MB, free: 9.562 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1305, allocations: 49.12 MB / 391.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003297/0.1338, allocations: 1.514 MB / 393.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.136, allocations: 0.9151 MB / 394.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.136, allocations: 0 / 394.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1361, allocations: 11.86 kB / 394.3 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.33e-05/0.1362, allocations: 11.88 kB / 394.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1365, allocations: 47.88 kB / 394.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.1368, allocations: 139.7 kB / 394.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1369, allocations: 19.88 kB / 394.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005919/0.1375, allocations: 383.3 kB / 394.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1376, allocations: 75.62 kB / 395 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.1377, allocations: 15.94 kB / 395 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.1377, allocations: 12 kB / 395 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1378, allocations: 63.75 kB / 395.1 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.138, allocations: 111.2 kB / 395.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.1384, allocations: 358.5 kB / 395.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1385, allocations: 0 / 395.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1385, allocations: 0 / 395.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1385, allocations: 0 / 395.5 MB, free: 4.605 MB / 318.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.0009824/0.1394, allocations: 0.7344 MB / 396.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.1395, allocations: 8.031 kB / 396.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.036e-05/0.1396, allocations: 44.7 kB / 396.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1399, allocations: 274.7 kB / 396.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.14, allocations: 4.375 kB / 396.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.14, allocations: 8.375 kB / 396.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.1404, allocations: 125.9 kB / 396.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1404, allocations: 3.938 kB / 396.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.1404, allocations: 8 kB / 396.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1404, allocations: 0 / 396.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.1406, allocations: 59.95 kB / 396.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/0.1413, allocations: 460.5 kB / 397.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1415, allocations: 74.48 kB / 397.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1417, allocations: 64.94 kB / 397.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.1417, allocations: 0 / 397.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.1421, allocations: 210.7 kB / 397.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1421, allocations: 0 / 397.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001/0.1431, allocations: 468.2 kB / 398 MB, free: 1.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.1432, allocations: 166.2 kB / 398.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007237/0.144, allocations: 0.5207 MB / 398.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.144, allocations: 29.7 kB / 398.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.1441, allocations: 101.1 kB / 398.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.1441, allocations: 35.73 kB / 398.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.1443, allocations: 81.55 kB / 399 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1444, allocations: 330.8 kB / 399.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1446, allocations: 51.97 kB / 399.3 MB, free: 500 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1447, allocations: 73.62 kB / 399.4 MB, free: 420 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.1451, allocations: 339.3 kB / 399.7 MB, free: 24 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1451, allocations: 4 kB / 399.7 MB, free: 20 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006193/0.1457, allocations: 372.3 kB / 400.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.1459, allocations: 130.8 kB / 400.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1459, allocations: 0 / 400.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.1459, allocations: 0 / 400.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.838e-05/0.1459, allocations: 0 / 400.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1459, allocations: 7.938 kB / 400.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.1461, allocations: 15.98 kB / 400.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/0.1462, allocations: 39.94 kB / 400.3 MB, free: 15.41 MB / 334.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.0004991/0.1467, allocations: 366.4 kB / 400.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.1467, allocations: 39.77 kB / 400.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.1469, allocations: 71.14 kB / 400.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1469, allocations: 0 / 400.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1469, allocations: 0 / 400.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1469, allocations: 3.984 kB / 400.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.1486, allocations: 0.8055 MB / 401.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1486, allocations: 0 / 401.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-06/0.1486, allocations: 3.984 kB / 401.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1486, allocations: 0 / 401.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.1487, allocations: 16 kB / 401.6 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1487, allocations: 4 kB / 401.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.1487, allocations: 3.938 kB / 401.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1497, allocations: 0.5296 MB / 402.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005222/0.1503, allocations: 244.6 kB / 402.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.1504, allocations: 12 kB / 402.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.1506, allocations: 11.98 kB / 402.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.1507, allocations: 23.92 kB / 402.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.1508, allocations: 39.98 kB / 402.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008733/0.1517, allocations: 390.9 kB / 402.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1517, allocations: 0 / 402.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006025/0.1523, allocations: 44 kB / 402.9 MB, free: 12.65 MB / 334.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.0002163/0.1525, allocations: 122.9 kB / 403 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007793/0.1533, allocations: 381.5 kB / 403.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1533, allocations: 0 / 403.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.1537, allocations: 297.6 kB / 403.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.1548, allocations: 133.2 kB / 403.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1565, allocations: 0.6573 MB / 404.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/0.1573, allocations: 0.7983 MB / 405.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.312e-05/0.1574, allocations: 8.656 kB / 405.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.1575, allocations: 11.44 kB / 405.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1575, allocations: 0 / 405.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Templates: time 0.01308/0.1705, allocations: 4.396 MB / 409.7 MB, free: 5.691 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.686263903044164]