Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 88.91 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 159 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.584e-06/2.584e-06, allocations: 0 / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.251e-05, allocations: 2.281 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002998/0.00303, allocations: 1.487 MB / 326.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.00532, allocations: 0.8398 MB / 327.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.005398, allocations: 5.094 kB / 327.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.005516, allocations: 12.56 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.878e-05/0.005615, allocations: 18.64 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.005935, allocations: 53.27 kB / 327.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.006175, allocations: 136.1 kB / 327.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.006319, allocations: 20.61 kB / 327.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006224/0.006942, allocations: 415 kB / 328 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.007101, allocations: 58.09 kB / 328.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.007152, allocations: 9.5 kB / 328.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.016e-05/0.007193, allocations: 10.03 kB / 328.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.007317, allocations: 62.38 kB / 328.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.007442, allocations: 58.78 kB / 328.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.007955, allocations: 355.1 kB / 328.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.00796, allocations: 0 / 328.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00796, allocations: 0 / 328.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.007967, allocations: 5.094 kB / 328.5 MB, free: 14.53 MB / 302.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.0009765/0.008943, allocations: 0.6518 MB / 329.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.008989, allocations: 13.28 kB / 329.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.787e-05/0.009087, allocations: 39.55 kB / 329.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.009433, allocations: 220.9 kB / 329.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.009459, allocations: 4.875 kB / 329.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.009489, allocations: 7.562 kB / 329.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.009955, allocations: 243.7 kB / 329.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.009967, allocations: 192 / 329.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.009993, allocations: 5.219 kB / 329.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.01, allocations: 9 kB / 329.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.01028, allocations: 183.8 kB / 329.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.01104, allocations: 390.6 kB / 330.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.01131, allocations: 192.6 kB / 330.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.01154, allocations: 179.9 kB / 330.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.01155, allocations: 5.125 kB / 330.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/0.012, allocations: 322.4 kB / 331 MB, free: 12.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.012, allocations: 0 / 331 MB, free: 12.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001048/0.01305, allocations: 0.6961 MB / 331.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.01317, allocations: 168.5 kB / 331.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/0.01388, allocations: 0.5135 MB / 332.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.01391, allocations: 34.06 kB / 332.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.01399, allocations: 100.4 kB / 332.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.01404, allocations: 30.84 kB / 332.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.01418, allocations: 78.55 kB / 332.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.01433, allocations: 323 kB / 332.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.01455, allocations: 179.8 kB / 333.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.01478, allocations: 196 kB / 333.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.01521, allocations: 353.2 kB / 333.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01521, allocations: 9.125 kB / 333.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008578/0.01607, allocations: 499.2 kB / 334.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.01622, allocations: 129.3 kB / 334.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.01623, allocations: 1.156 kB / 334.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.01625, allocations: 1.188 kB / 334.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.187e-05/0.01628, allocations: 1.125 kB / 334.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.01629, allocations: 1.062 kB / 334.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.01647, allocations: 16.8 kB / 334.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/0.01656, allocations: 40.7 kB / 334.3 MB, free: 9.574 MB / 302.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.0004865/0.01704, allocations: 369.5 kB / 334.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.01712, allocations: 47.11 kB / 334.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.01725, allocations: 63.58 kB / 334.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.01725, allocations: 1.031 kB / 334.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.01726, allocations: 1.281 kB / 334.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01726, allocations: 0 / 334.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.01846, allocations: 0.8597 MB / 335.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01847, allocations: 0 / 335.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/0.01848, allocations: 4.969 kB / 335.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01848, allocations: 0 / 335.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.01851, allocations: 18.27 kB / 335.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.01852, allocations: 8 kB / 335.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.01852, allocations: 1.156 kB / 335.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.01932, allocations: 0.6462 MB / 336.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.01972, allocations: 208.8 kB / 336.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.01978, allocations: 11.5 kB / 336.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.01992, allocations: 13.64 kB / 336.5 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.02003, allocations: 21.45 kB / 336.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/0.02009, allocations: 45.11 kB / 336.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005247/0.02062, allocations: 386.8 kB / 337 MB, free: 7.508 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02062, allocations: 0 / 337 MB, free: 7.508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.02092, allocations: 49.88 kB / 337 MB, free: 7.5 MB / 302.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.0001605/0.02108, allocations: 118 kB / 337.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.02181, allocations: 0.6025 MB / 337.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02181, allocations: 0 / 337.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.0222, allocations: 423.1 kB / 338.1 MB, free: 6.371 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.02289, allocations: 130.1 kB / 338.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.02419, allocations: 0.786 MB / 339.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.02452, allocations: 198 kB / 339.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.386e-05/0.02458, allocations: 13.59 kB / 339.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.02461, allocations: 12.88 kB / 339.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.02461, allocations: 0 / 339.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of Templates: time 0.009342/0.03395, allocations: 4.737 MB / 344 MB, free: 1.059 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.438706815242767]