Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001844/0.001844, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001816/0.001816, allocations: 153.5 kB / 24.27 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.838e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002908/0.002936, allocations: 1.495 MB / 268.8 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.004956, allocations: 0.8263 MB / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.005003, allocations: 4 kB / 269.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.817e-05/0.005091, allocations: 11.86 kB / 269.7 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.005173, allocations: 23.8 kB / 269.7 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.00542, allocations: 51.81 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.005647, allocations: 143.7 kB / 269.9 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.005732, allocations: 11.98 kB / 269.9 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005501/0.006282, allocations: 411.2 kB / 270.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.00642, allocations: 59.81 kB / 270.3 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.006473, allocations: 11.94 kB / 270.4 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.651e-05/0.00652, allocations: 12 kB / 270.4 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.006618, allocations: 63.78 kB / 270.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.006724, allocations: 55.78 kB / 270.5 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.007174, allocations: 358.8 kB / 270.8 MB, free: 3.195 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007177, allocations: 0 / 270.8 MB, free: 3.195 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007178, allocations: 0 / 270.8 MB, free: 3.195 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.007184, allocations: 7.938 kB / 270.8 MB, free: 3.188 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.0009958/0.00818, allocations: 0.7978 MB / 271.6 MB, free: 2.328 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.008216, allocations: 12.92 kB / 271.6 MB, free: 2.316 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.008318, allocations: 44.7 kB / 271.7 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.008639, allocations: 222.8 kB / 271.9 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.008661, allocations: 4.375 kB / 271.9 MB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.008687, allocations: 8.375 kB / 271.9 MB, free: 2.016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.009091, allocations: 249 kB / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.0091, allocations: 192 / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.009122, allocations: 4.375 kB / 272.2 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.009128, allocations: 7.938 kB / 272.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.009362, allocations: 178.8 kB / 272.4 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.01037, allocations: 0.5345 MB / 272.9 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.0107, allocations: 213.8 kB / 273.1 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.01094, allocations: 190.5 kB / 273.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.01095, allocations: 3.938 kB / 273.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/0.01139, allocations: 350.8 kB / 273.6 MB, free: 108 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.01139, allocations: 0 / 273.6 MB, free: 108 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001084/0.01247, allocations: 0.7128 MB / 274.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.0126, allocations: 174.2 kB / 274.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.0136, allocations: 0.7014 MB / 275.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.01364, allocations: 29.7 kB / 275.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01375, allocations: 155.8 kB / 275.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.0138, allocations: 31.78 kB / 275.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.01415, allocations: 91.17 kB / 275.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002703/0.01442, allocations: 0.5001 MB / 276 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.01465, allocations: 178.8 kB / 276.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.0149, allocations: 202.2 kB / 276.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.01532, allocations: 368.9 kB / 276.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01532, allocations: 8 kB / 276.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007077/0.01603, allocations: 0.4991 MB / 277.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.01613, allocations: 122.8 kB / 277.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01614, allocations: 0 / 277.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.01615, allocations: 4 kB / 277.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.002e-05/0.01617, allocations: 7.938 kB / 277.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01618, allocations: 0 / 277.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.0163, allocations: 11.98 kB / 277.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.01636, allocations: 40 kB / 277.4 MB, free: 11.93 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.0004107/0.01677, allocations: 393.3 kB / 277.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.01684, allocations: 51.81 kB / 277.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.01695, allocations: 59.16 kB / 277.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01696, allocations: 0 / 277.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.01696, allocations: 4 kB / 277.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.01696, allocations: 0 / 277.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.01832, allocations: 1.034 MB / 279 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.01833, allocations: 3.984 kB / 279 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-06/0.01833, allocations: 0 / 279 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.01834, allocations: 7.984 kB / 279 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.01836, allocations: 12 kB / 279 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01836, allocations: 0 / 279 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01837, allocations: 0 / 279 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.01925, allocations: 0.7391 MB / 279.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/0.01964, allocations: 181.4 kB / 279.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.01969, allocations: 12 kB / 279.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.01981, allocations: 11.98 kB / 279.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.01992, allocations: 27.97 kB / 280 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.01997, allocations: 36 kB / 280 MB, free: 9.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006163/0.02059, allocations: 454.7 kB / 280.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02059, allocations: 0 / 280.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002818/0.02087, allocations: 59.89 kB / 280.5 MB, free: 8.68 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 0.0001491/0.02102, allocations: 115 kB / 280.6 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007766/0.02179, allocations: 0.6472 MB / 281.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.0218, allocations: 0 / 281.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.02226, allocations: 456.1 kB / 281.7 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.02293, allocations: 149.5 kB / 281.8 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.0244, allocations: 0.7565 MB / 282.6 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.02465, allocations: 185.8 kB / 282.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.651e-05/0.0247, allocations: 12.7 kB / 282.8 MB, free: 6.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.02473, allocations: 16.44 kB / 282.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02473, allocations: 0 / 282.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of Templates: time 0.009069/0.0338, allocations: 4.772 MB / 287.6 MB, free: 1.414 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.528097721049562]