Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 114.1 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 254.8 MB, free: 15.1 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.1.0_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_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 51.92 kB / 374.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 53.32 MB / 427.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002883/0.1173, allocations: 1.551 MB / 429 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1196, allocations: 0.881 MB / 429.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.1197, allocations: 0 / 429.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.869e-05/0.1198, allocations: 11.86 kB / 429.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.385e-05/0.1198, allocations: 15.86 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1201, allocations: 55.88 kB / 430 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1204, allocations: 131.7 kB / 430.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1205, allocations: 12 kB / 430.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004986/0.121, allocations: 395.2 kB / 430.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1211, allocations: 75.73 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.1211, allocations: 11.94 kB / 430.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-05/0.1212, allocations: 12 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-05/0.1213, allocations: 59.77 kB / 430.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1214, allocations: 111.2 kB / 430.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.1218, allocations: 358.5 kB / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1218, allocations: 0 / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1218, allocations: 0 / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1218, allocations: 3.984 kB / 431.1 MB, free: 0.6211 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.2126/0.3344, allocations: 0.725 MB / 431.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.3345, allocations: 9.406 kB / 431.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.3346, allocations: 42.67 kB / 431.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.3349, allocations: 276.2 kB / 432.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.3349, allocations: 5.375 kB / 432.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.335, allocations: 9.562 kB / 432.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.3353, allocations: 126 kB / 432.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3353, allocations: 0.5625 kB / 432.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.3354, allocations: 8.25 kB / 432.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3354, allocations: 0 / 432.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.3356, allocations: 58.62 kB / 432.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.3363, allocations: 461.7 kB / 432.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.3365, allocations: 75.8 kB / 432.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3366, allocations: 61.38 kB / 433 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3366, allocations: 1.156 kB / 433 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.337, allocations: 202.8 kB / 433.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.337, allocations: 0.875 kB / 433.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000838/0.3379, allocations: 465.8 kB / 433.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.3379, allocations: 169.6 kB / 433.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.3385, allocations: 0.5166 MB / 434.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3385, allocations: 29.64 kB / 434.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.3386, allocations: 102.4 kB / 434.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.3386, allocations: 29.8 kB / 434.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.3387, allocations: 82.42 kB / 434.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.3388, allocations: 332.7 kB / 434.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3389, allocations: 53.98 kB / 434.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.339, allocations: 80.92 kB / 435 MB, free: 9.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.3393, allocations: 339.7 kB / 435.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3393, allocations: 0 / 435.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005131/0.3398, allocations: 377.2 kB / 435.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/0.3399, allocations: 125.3 kB / 435.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3399, allocations: 4.219 kB / 435.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3399, allocations: 1.344 kB / 435.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.636e-05/0.34, allocations: 6.344 kB / 435.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.34, allocations: 4.062 kB / 435.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.3401, allocations: 11.97 kB / 435.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.3402, allocations: 39.7 kB / 435.9 MB, free: 8.914 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.0002972/0.3405, allocations: 362.7 kB / 436.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.3405, allocations: 39.45 kB / 436.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.3406, allocations: 62.34 kB / 436.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3406, allocations: 5.844 kB / 436.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3407, allocations: 0 / 436.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3407, allocations: 5.625 kB / 436.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.3416, allocations: 0.8142 MB / 437.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3416, allocations: 0 / 437.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.3416, allocations: 0 / 437.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3416, allocations: 1.156 kB / 437.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.3416, allocations: 16.98 kB / 437.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3416, allocations: 1.094 kB / 437.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3416, allocations: 3.344 kB / 437.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.3422, allocations: 0.5326 MB / 437.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.3425, allocations: 244.9 kB / 438 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.3425, allocations: 10.55 kB / 438 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3427, allocations: 15.09 kB / 438 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.3428, allocations: 19.62 kB / 438 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/0.3428, allocations: 51.31 kB / 438.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004534/0.3433, allocations: 388 kB / 438.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3433, allocations: 0 / 438.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.3436, allocations: 45.91 kB / 438.5 MB, free: 7.387 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.0001194/0.3437, allocations: 117.9 kB / 438.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004322/0.3441, allocations: 376.6 kB / 439 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3441, allocations: 0 / 439 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.3444, allocations: 300.4 kB / 439.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.345, allocations: 124.3 kB / 439.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.3461, allocations: 0.7013 MB / 440.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.3464, allocations: 0.8032 MB / 440.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.3464, allocations: 15.97 kB / 440.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3464, allocations: 0 / 440.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of Templates: time 0.005541/0.3519, allocations: 2.507 MB / 443.4 MB, free: 5.328 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 7.768183894979302]