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.001133/0.001133, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00118/0.00118, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.033/1.033, allocations: 177.1 MB / 205 MB, free: 5.633 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.453e-06/1.453e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.754e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002639/0.002667, allocations: 1.537 MB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.004417, allocations: 0.8574 MB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.00446, allocations: 0 / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.004562, allocations: 15.86 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.004637, allocations: 19.86 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.00489, allocations: 51.88 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.005304, allocations: 139.6 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.005393, allocations: 19.91 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.005742, allocations: 407.3 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.005836, allocations: 59.81 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.005873, allocations: 8 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.005896, allocations: 8 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.005972, allocations: 71.72 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.006049, allocations: 55.73 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.006284, allocations: 259.1 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.006286, allocations: 0 / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006287, allocations: 0 / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.006292, allocations: 0 / 276.5 MB, free: 14.04 MB / 266.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.0006132/0.006905, allocations: 0.7863 MB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.00694, allocations: 12.03 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.545e-05/0.007015, allocations: 44.7 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.007208, allocations: 226.8 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.007227, allocations: 4.375 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.007245, allocations: 12.38 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.007509, allocations: 241.7 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.007517, allocations: 192 / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.007535, allocations: 4.375 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.007544, allocations: 7.938 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.007646, allocations: 166.7 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.00816, allocations: 495.4 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.008301, allocations: 193.8 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.008405, allocations: 174.5 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.008413, allocations: 3.938 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.008619, allocations: 319.2 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.654e-06/0.008621, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000548/0.009169, allocations: 0.6697 MB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.009237, allocations: 174.2 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.009775, allocations: 0.6232 MB / 280.6 MB, free: 9.492 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.009799, allocations: 29.7 kB / 280.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.009863, allocations: 147.9 kB / 280.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.009891, allocations: 27.95 kB / 280.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.009968, allocations: 103 kB / 280.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01008, allocations: 0.4884 MB / 281.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.01019, allocations: 162.8 kB / 281.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.0103, allocations: 196.9 kB / 281.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.01047, allocations: 332.9 kB / 282 MB, free: 7.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01047, allocations: 0 / 282 MB, free: 7.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006004/0.01107, allocations: 487 kB / 282.5 MB, free: 7.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/0.01113, allocations: 126.8 kB / 282.6 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01114, allocations: 4 kB / 282.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01115, allocations: 0 / 282.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.177e-05/0.01117, allocations: 4 kB / 282.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01117, allocations: 0 / 282.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.143e-05/0.01126, allocations: 15.95 kB / 282.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.0113, allocations: 43.98 kB / 282.7 MB, free: 7.137 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.0002198/0.01152, allocations: 385.2 kB / 283.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.01157, allocations: 59.69 kB / 283.1 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.531e-05/0.01163, allocations: 51.09 kB / 283.2 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01164, allocations: 4 kB / 283.2 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01164, allocations: 0 / 283.2 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01164, allocations: 0 / 283.2 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.01235, allocations: 0.9439 MB / 284.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.01236, allocations: 0 / 284.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.01236, allocations: 0 / 284.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.01236, allocations: 4 kB / 284.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.01238, allocations: 15.98 kB / 284.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01239, allocations: 0 / 284.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01239, allocations: 0 / 284.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.01284, allocations: 0.7003 MB / 284.9 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.01307, allocations: 189.3 kB / 285 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.01311, allocations: 11.98 kB / 285.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.01319, allocations: 12 kB / 285.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.01328, allocations: 20.16 kB / 285.1 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.01332, allocations: 47.94 kB / 285.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003583/0.01367, allocations: 426.7 kB / 285.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01367, allocations: 4 kB / 285.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.01387, allocations: 44 kB / 285.6 MB, free: 4.059 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.0001218/0.014, allocations: 123 kB / 285.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.01441, allocations: 0.5926 MB / 286.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01441, allocations: 0 / 286.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.01462, allocations: 428 kB / 286.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.01509, allocations: 138.4 kB / 286.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.0159, allocations: 0.7486 MB / 287.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.014e-05/0.01598, allocations: 95.27 kB / 287.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.636e-05/0.01601, allocations: 8.781 kB / 287.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.01604, allocations: 16.5 kB / 287.7 MB, free: 1.664 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01604, allocations: 0 / 287.7 MB, free: 1.664 MB / 266.7 MB Notification: Performance of Templates: time 0.006649/0.02269, allocations: 5.023 MB / 292.8 MB, free: 12.71 MB / 282.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 -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.805312369018793]