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.0009863/0.0009863, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001673/0.001673, allocations: 172.4 kB / 25.61 MB, free: 8.902 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.9568/0.9568, allocations: 177.1 MB / 206 MB, free: 4.508 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.232e-06/1.232e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.08e-05, allocations: 10.33 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001785/0.001806, allocations: 1.527 MB / 275.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.003113, allocations: 0.855 MB / 276.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.003158, allocations: 0 / 276.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.37e-05/0.003242, allocations: 8.625 kB / 276.6 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.852e-05/0.00331, allocations: 24.28 kB / 276.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.003513, allocations: 44.83 kB / 276.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.003695, allocations: 147.6 kB / 276.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.282e-05/0.003768, allocations: 12.56 kB / 276.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.004115, allocations: 411.3 kB / 277.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.004217, allocations: 56.48 kB / 277.3 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.004252, allocations: 10.34 kB / 277.3 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.124e-05/0.004273, allocations: 8 kB / 277.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.004339, allocations: 71.7 kB / 277.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.004403, allocations: 59.72 kB / 277.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.004612, allocations: 259.1 kB / 277.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004613, allocations: 0 / 277.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004614, allocations: 0 / 277.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004618, allocations: 2.031 kB / 277.7 MB, free: 0.9492 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.0005804/0.005198, allocations: 0.7823 MB / 278.4 MB, free: 108 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.005227, allocations: 15.97 kB / 278.5 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.005282, allocations: 48.7 kB / 278.5 MB, free: 44 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.005457, allocations: 222.9 kB / 278.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.005476, allocations: 12.38 kB / 278.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.005493, allocations: 12.31 kB / 278.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.005714, allocations: 229.7 kB / 279 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.005721, allocations: 192 / 279 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.005735, allocations: 8.375 kB / 279 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.005742, allocations: 7.922 kB / 279 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/0.005822, allocations: 150.8 kB / 279.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.006325, allocations: 408 kB / 279.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.006446, allocations: 177.8 kB / 279.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/0.00653, allocations: 162.5 kB / 279.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.006536, allocations: 0 / 279.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.006729, allocations: 315 kB / 280.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.00673, allocations: 0 / 280.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004994/0.007229, allocations: 0.6464 MB / 280.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.007289, allocations: 166.2 kB / 281 MB, free: 13.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.007706, allocations: 0.5138 MB / 281.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.007725, allocations: 33.64 kB / 281.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.007777, allocations: 155.8 kB / 281.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.007808, allocations: 27.84 kB / 281.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.007879, allocations: 83.16 kB / 281.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.007977, allocations: 0.4923 MB / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.008058, allocations: 154.8 kB / 282.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.378e-05/0.008142, allocations: 174.1 kB / 282.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.00854, allocations: 323.6 kB / 282.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.008542, allocations: 0 / 282.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003113/0.008854, allocations: 475.2 kB / 283.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.008909, allocations: 126.8 kB / 283.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.008913, allocations: 3.938 kB / 283.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.008921, allocations: 0 / 283.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.291e-05/0.008934, allocations: 0 / 283.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.008937, allocations: 4 kB / 283.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.009015, allocations: 11.98 kB / 283.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.009049, allocations: 36 kB / 283.6 MB, free: 10.4 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.0002205/0.009269, allocations: 389.3 kB / 283.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.009311, allocations: 51.7 kB / 284 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.009383, allocations: 59.09 kB / 284.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.009385, allocations: 0 / 284.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.009386, allocations: 0 / 284.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.00939, allocations: 3.984 kB / 284.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.009945, allocations: 0.8431 MB / 284.9 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.009948, allocations: 4.062 kB / 284.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/0.009952, allocations: 3.938 kB / 284.9 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.009954, allocations: 0 / 284.9 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.009968, allocations: 8 kB / 284.9 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.009969, allocations: 4 kB / 284.9 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.00997, allocations: 4 kB / 284.9 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.01034, allocations: 0.6652 MB / 285.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.01056, allocations: 193.2 kB / 285.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.0106, allocations: 12 kB / 285.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.01067, allocations: 8 kB / 285.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.01072, allocations: 23.97 kB / 285.8 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.01076, allocations: 43.88 kB / 285.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.01095, allocations: 302.9 kB / 286.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01095, allocations: 0 / 286.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001767/0.01113, allocations: 44 kB / 286.2 MB, free: 7.578 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 9.134e-05/0.01122, allocations: 123 kB / 286.3 MB, free: 7.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.01155, allocations: 0.5729 MB / 286.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01155, allocations: 0 / 286.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.01173, allocations: 416 kB / 287.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.01207, allocations: 124.6 kB / 287.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.01274, allocations: 0.7408 MB / 288.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.472e-05/0.0128, allocations: 107.2 kB / 288.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.71e-05/0.01283, allocations: 4.734 kB / 288.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.01304, allocations: 186.4 kB / 288.5 MB, free: 5.066 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01304, allocations: 0 / 288.5 MB, free: 5.066 MB / 266.7 MB Notification: Performance of Templates: time 0.005579/0.01862, allocations: 4.505 MB / 293 MB, free: 0.6367 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 -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.7748602060601115]