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.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.0009943/0.0009943, allocations: 73.12 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.002089, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007301/0.0007301, allocations: 161.2 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009584/0.001689, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.8823/0.8823, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.151/1.033, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.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_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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.978e-05, allocations: 2.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001858/0.001878, allocations: 1.577 MB / 223.6 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.003256, allocations: 0.9052 MB / 224.5 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.003313, allocations: 0 / 224.5 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.597e-05/0.003389, allocations: 15.88 kB / 224.5 MB, free: 13.54 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.00345, allocations: 23.78 kB / 224.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.003654, allocations: 55.81 kB / 224.6 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.003835, allocations: 135.7 kB / 224.7 MB, free: 13.33 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.003918, allocations: 19.97 kB / 224.7 MB, free: 13.31 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004017/0.004319, allocations: 399.2 kB / 225.1 MB, free: 12.92 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.004433, allocations: 51.83 kB / 225.2 MB, free: 12.87 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.004467, allocations: 12 kB / 225.2 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.527e-05/0.004492, allocations: 8 kB / 225.2 MB, free: 12.85 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.004562, allocations: 63.78 kB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.004628, allocations: 47.8 kB / 225.3 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.004871, allocations: 251 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.004881, allocations: 4 kB / 225.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004882, allocations: 0 / 225.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.004894, allocations: 4 kB / 225.5 MB, free: 12.49 MB / 234.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.0005416/0.005435, allocations: 0.6574 MB / 226.2 MB, free: 11.78 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.005463, allocations: 8.031 kB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.005516, allocations: 28.91 kB / 226.2 MB, free: 11.75 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.005695, allocations: 216.1 kB / 226.4 MB, free: 11.51 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.005713, allocations: 4.375 kB / 226.4 MB, free: 11.51 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.005732, allocations: 12.31 kB / 226.5 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.005976, allocations: 237.6 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.005983, allocations: 4.188 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.005995, allocations: 4.375 kB / 226.7 MB, free: 11.22 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.006002, allocations: 7.938 kB / 226.7 MB, free: 11.21 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.474e-05/0.006087, allocations: 154.8 kB / 226.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.006368, allocations: 212.2 kB / 227.1 MB, free: 10.82 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.006497, allocations: 173.4 kB / 227.2 MB, free: 10.61 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.006589, allocations: 163.7 kB / 227.4 MB, free: 10.43 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.006596, allocations: 0 / 227.4 MB, free: 10.43 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.006792, allocations: 313.3 kB / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.006793, allocations: 0 / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003854/0.007179, allocations: 0.5206 MB / 228.2 MB, free: 9.473 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.007254, allocations: 182.2 kB / 228.4 MB, free: 9.258 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.007537, allocations: 359.1 kB / 228.7 MB, free: 8.895 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.00756, allocations: 33.7 kB / 228.8 MB, free: 8.855 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.007597, allocations: 93.11 kB / 228.9 MB, free: 8.762 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.007627, allocations: 31.7 kB / 228.9 MB, free: 8.73 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.007694, allocations: 77.5 kB / 229 MB, free: 8.648 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.007772, allocations: 326.8 kB / 229.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.007864, allocations: 154.8 kB / 229.4 MB, free: 8.145 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.00795, allocations: 164.5 kB / 229.6 MB, free: 7.953 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.008111, allocations: 327.1 kB / 229.9 MB, free: 7.578 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008113, allocations: 0 / 229.9 MB, free: 7.578 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002199/0.008333, allocations: 363.4 kB / 230.3 MB, free: 7.168 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/0.008415, allocations: 130.7 kB / 230.4 MB, free: 7.016 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008421, allocations: 3.984 kB / 230.4 MB, free: 7.012 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.008433, allocations: 4.031 kB / 230.4 MB, free: 7.008 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.692e-05/0.00845, allocations: 4 kB / 230.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.008454, allocations: 3.938 kB / 230.4 MB, free: 7 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.008538, allocations: 11.98 kB / 230.4 MB, free: 6.988 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.008574, allocations: 36.11 kB / 230.5 MB, free: 6.953 MB / 234.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.0002818/0.008856, allocations: 341.2 kB / 230.8 MB, free: 6.586 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.008889, allocations: 39.91 kB / 230.8 MB, free: 6.547 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/0.00896, allocations: 51.09 kB / 230.9 MB, free: 6.5 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.008963, allocations: 3.984 kB / 230.9 MB, free: 6.496 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.008964, allocations: 0 / 230.9 MB, free: 6.496 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.008967, allocations: 4 kB / 230.9 MB, free: 6.492 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.009352, allocations: 0.6134 MB / 231.5 MB, free: 5.805 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.009353, allocations: 0 / 231.5 MB, free: 5.805 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-06/0.009359, allocations: 0 / 231.5 MB, free: 5.805 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.009613, allocations: 135.4 kB / 231.6 MB, free: 5.672 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.009616, allocations: 0 / 231.6 MB, free: 5.672 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.009629, allocations: 7.984 kB / 231.7 MB, free: 5.664 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.009631, allocations: 192 / 231.7 MB, free: 5.664 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009633, allocations: 4 kB / 231.7 MB, free: 5.66 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.009896, allocations: 0.4994 MB / 232.2 MB, free: 5.098 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.00993, allocations: 23.92 kB / 232.2 MB, free: 5.074 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.01, allocations: 8 kB / 232.2 MB, free: 5.066 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.01006, allocations: 23.97 kB / 232.2 MB, free: 5.043 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.01009, allocations: 35.94 kB / 232.2 MB, free: 5.008 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.01022, allocations: 156.6 kB / 232.4 MB, free: 4.852 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01022, allocations: 0 / 232.4 MB, free: 4.852 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000156/0.01038, allocations: 40 kB / 232.4 MB, free: 4.812 MB / 234.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 9.047e-05/0.01047, allocations: 100.1 kB / 232.5 MB, free: 4.707 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.01079, allocations: 0.578 MB / 233.1 MB, free: 4.027 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.0108, allocations: 4 kB / 233.1 MB, free: 4.023 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.01112, allocations: 416.1 kB / 233.5 MB, free: 3.539 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.01148, allocations: 387.9 kB / 233.9 MB, free: 3.109 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008559/0.01234, allocations: 0.7449 MB / 234.7 MB, free: 2.309 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.741e-05/0.01241, allocations: 99.25 kB / 234.7 MB, free: 2.191 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.276e-05/0.01245, allocations: 4.734 kB / 234.8 MB, free: 2.18 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.01267, allocations: 155.8 kB / 234.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01267, allocations: 0 / 234.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of Templates: time 0.005048/0.01772, allocations: 4.365 MB / 239.3 MB, free: 13.67 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.429048581980169]