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.0009105/0.0009105, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009285/0.0009285, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9686/0.9686, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.412e-06/1.412e-06, allocations: 0 / 273.5 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.324e-05, allocations: 2.312 kB / 273.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001759/0.001772, allocations: 1.574 MB / 275.1 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.003088, allocations: 0.8588 MB / 275.9 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.003135, allocations: 4 kB / 275.9 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.909e-05/0.003224, allocations: 12.7 kB / 276 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.071e-05/0.003295, allocations: 20.5 kB / 276 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.003503, allocations: 47.83 kB / 276 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.003646, allocations: 146.1 kB / 276.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.786e-05/0.003714, allocations: 15.98 kB / 276.2 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.004037, allocations: 391.2 kB / 276.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.004126, allocations: 51.83 kB / 276.6 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.004153, allocations: 12 kB / 276.6 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.004171, allocations: 8 kB / 276.6 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.004238, allocations: 63.78 kB / 276.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.004296, allocations: 63.66 kB / 276.8 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.004497, allocations: 263.1 kB / 277 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.004498, allocations: 0 / 277 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004499, allocations: 0 / 277 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.004503, allocations: 4 kB / 277 MB, free: 0.8789 MB / 250.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.000431/0.004934, allocations: 0.6109 MB / 277.6 MB, free: 224 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.457e-05/0.004958, allocations: 8.031 kB / 277.6 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.00501, allocations: 32.91 kB / 277.7 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.005194, allocations: 214.7 kB / 277.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.005208, allocations: 8.312 kB / 277.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.005223, allocations: 16.38 kB / 277.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.00543, allocations: 221.7 kB / 278.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.005436, allocations: 192 / 278.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.005448, allocations: 5.688 kB / 278.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.005452, allocations: 0 / 278.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.005528, allocations: 154.7 kB / 278.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.005788, allocations: 212.2 kB / 278.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.005901, allocations: 173.3 kB / 278.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.005978, allocations: 155.7 kB / 278.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.005985, allocations: 7.984 kB / 278.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.006151, allocations: 289.5 kB / 279.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.006152, allocations: 4 kB / 279.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003081/0.00646, allocations: 0.5176 MB / 279.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.006514, allocations: 166.2 kB / 279.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.006815, allocations: 371 kB / 280.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.006833, allocations: 29.7 kB / 280.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.006867, allocations: 93.11 kB / 280.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.006894, allocations: 39.73 kB / 280.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.006961, allocations: 73.53 kB / 280.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.007044, allocations: 322.8 kB / 280.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.007131, allocations: 146.8 kB / 280.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.042e-05/0.007211, allocations: 164.5 kB / 281 MB, free: 12.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.007365, allocations: 318.9 kB / 281.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007367, allocations: 0 / 281.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001928/0.00756, allocations: 347.2 kB / 281.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.007616, allocations: 134.8 kB / 281.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.007621, allocations: 0 / 281.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.00763, allocations: 0 / 281.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.395e-05/0.007644, allocations: 4 kB / 281.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.007647, allocations: 3.938 kB / 281.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.007717, allocations: 11.98 kB / 281.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.007754, allocations: 40.05 kB / 281.8 MB, free: 11.46 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.0002053/0.00796, allocations: 345.3 kB / 282.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.007991, allocations: 35.97 kB / 282.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.168e-05/0.008063, allocations: 51.08 kB / 282.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.008065, allocations: 4 kB / 282.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.008067, allocations: 4.125 kB / 282.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.008071, allocations: 3.938 kB / 282.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.008432, allocations: 0.5978 MB / 282.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008433, allocations: 3.938 kB / 282.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-06/0.008436, allocations: 0 / 282.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008438, allocations: 0 / 282.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.008452, allocations: 4 kB / 282.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.008454, allocations: 4 kB / 282.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.008457, allocations: 7.922 kB / 282.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.008695, allocations: 497.1 kB / 283.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.008931, allocations: 135.4 kB / 283.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.008964, allocations: 15.98 kB / 283.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.009033, allocations: 8 kB / 283.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.009094, allocations: 19.92 kB / 283.5 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.009123, allocations: 39.92 kB / 283.6 MB, free: 9.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.009253, allocations: 160.6 kB / 283.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009253, allocations: 0 / 283.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.009402, allocations: 44 kB / 283.8 MB, free: 9.34 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 7.913e-05/0.009482, allocations: 100.1 kB / 283.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.009774, allocations: 0.5586 MB / 284.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.009777, allocations: 0 / 284.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.009954, allocations: 416 kB / 284.8 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.01025, allocations: 129.3 kB / 285 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/0.01092, allocations: 0.7225 MB / 285.7 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.127e-05/0.01099, allocations: 103.2 kB / 285.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.75e-05/0.01103, allocations: 12.7 kB / 285.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.01125, allocations: 151.7 kB / 286 MB, free: 6.91 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01125, allocations: 7.938 kB / 286 MB, free: 6.902 MB / 266.7 MB Notification: Performance of Templates: time 0.005264/0.01651, allocations: 4.35 MB / 290.3 MB, free: 2.629 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5766076226718724]