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.001029/0.001029, allocations: 84.25 kB / 22.21 MB, free: 2.281 MB / 18.57 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.00136/0.00136, allocations: 166.7 kB / 25.61 MB, free: 8.887 MB / 18.57 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 0.9579/0.9579, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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 1.634e-06/1.634e-06, allocations: 0 / 274.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.631e-05, allocations: 4.75 kB / 274.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002268/0.002295, allocations: 1.535 MB / 275.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.003861, allocations: 0.8557 MB / 276.5 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.003964, allocations: 0 / 276.5 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.00409, allocations: 7.922 kB / 276.5 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.004188, allocations: 26.2 kB / 276.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.00447, allocations: 55.81 kB / 276.6 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.004637, allocations: 131.7 kB / 276.7 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.004728, allocations: 19.97 kB / 276.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005313/0.005259, allocations: 411.2 kB / 277.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.005378, allocations: 64.69 kB / 277.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.005412, allocations: 12 kB / 277.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.005432, allocations: 8 kB / 277.2 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.005504, allocations: 64.41 kB / 277.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.005568, allocations: 43.8 kB / 277.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.005795, allocations: 269.1 kB / 277.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.005798, allocations: 0 / 277.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005799, allocations: 4 kB / 277.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005804, allocations: 0 / 277.6 MB, free: 0.8945 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.0006379/0.006442, allocations: 0.7823 MB / 278.4 MB, free: 52 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.006475, allocations: 9.25 kB / 278.4 MB, free: 44 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.006552, allocations: 48.75 kB / 278.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.00675, allocations: 218.8 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.006771, allocations: 13.47 kB / 278.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.006788, allocations: 4.375 kB / 278.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.007036, allocations: 237.7 kB / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.007044, allocations: 4.906 kB / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.007057, allocations: 384 / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.007066, allocations: 11.94 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.929e-05/0.007155, allocations: 150.8 kB / 279.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.007594, allocations: 400 kB / 279.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.007733, allocations: 177.8 kB / 279.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.007833, allocations: 170.6 kB / 279.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.007839, allocations: 0 / 279.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.00806, allocations: 319 kB / 280.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.008062, allocations: 0 / 280.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008135/0.008876, allocations: 0.6425 MB / 280.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.008938, allocations: 174.1 kB / 280.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.009352, allocations: 0.5022 MB / 281.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.009375, allocations: 33.7 kB / 281.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.009436, allocations: 151.8 kB / 281.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.009464, allocations: 27.77 kB / 281.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.009538, allocations: 91.16 kB / 281.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.009656, allocations: 0.4962 MB / 282.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/0.009754, allocations: 146.8 kB / 282.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.009843, allocations: 180.4 kB / 282.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.01001, allocations: 328 kB / 282.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01001, allocations: 4 kB / 282.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003326/0.01035, allocations: 463.1 kB / 283.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.01041, allocations: 126.8 kB / 283.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01042, allocations: 0 / 283.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.01043, allocations: 4 kB / 283.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.585e-05/0.01044, allocations: 0 / 283.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.01045, allocations: 0 / 283.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/0.01053, allocations: 16.14 kB / 283.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.01057, allocations: 44 kB / 283.5 MB, free: 10.35 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.0002618/0.01083, allocations: 393.3 kB / 283.9 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.01088, allocations: 51.7 kB / 283.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.744e-05/0.01096, allocations: 55.08 kB / 284 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01096, allocations: 3.938 kB / 284 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01096, allocations: 3.938 kB / 284 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01096, allocations: 4 kB / 284 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.01156, allocations: 0.8275 MB / 284.8 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.01156, allocations: 4 kB / 284.8 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-06/0.01156, allocations: 3.938 kB / 284.8 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01157, allocations: 4 kB / 284.8 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.01158, allocations: 11.98 kB / 284.8 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01159, allocations: 0 / 284.8 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01159, allocations: 0 / 284.8 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.01201, allocations: 0.6762 MB / 285.5 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.01223, allocations: 185.3 kB / 285.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.01227, allocations: 15.98 kB / 285.7 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.01234, allocations: 8 kB / 285.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.0124, allocations: 19.98 kB / 285.7 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.01244, allocations: 47.92 kB / 285.8 MB, free: 7.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.01266, allocations: 302.9 kB / 286.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01266, allocations: 0 / 286.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.01286, allocations: 43.94 kB / 286.1 MB, free: 7.531 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.0001079/0.01297, allocations: 111 kB / 286.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003634/0.01333, allocations: 0.577 MB / 286.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01333, allocations: 0 / 286.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000466/0.0138, allocations: 412.2 kB / 287.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.01417, allocations: 141.7 kB / 287.4 MB, free: 6.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.01495, allocations: 0.733 MB / 288.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.848e-05/0.01503, allocations: 103.1 kB / 288.2 MB, free: 5.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.01508, allocations: 8.719 kB / 288.2 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.01532, allocations: 178.1 kB / 288.4 MB, free: 5.031 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01532, allocations: 3.938 kB / 288.4 MB, free: 5.027 MB / 266.7 MB Notification: Performance of Templates: time 0.005811/0.02114, allocations: 4.52 MB / 292.9 MB, free: 0.582 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] 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","",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.7625076095573604]