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.0009595/0.0009595, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001093/0.001093, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 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.154/1.154, allocations: 173.3 MB / 201.4 MB, free: 9.223 MB / 186.7 MB " [Timeout remaining time 179] 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.373e-06/1.373e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.992e-05, allocations: 2.312 kB / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002002/0.002022, allocations: 1.51 MB / 269.9 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003465, allocations: 0.8341 MB / 270.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.003541, allocations: 0 / 270.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.003646, allocations: 7.938 kB / 270.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.59e-05/0.003731, allocations: 19.8 kB / 270.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.003993, allocations: 55.86 kB / 270.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.004162, allocations: 151.5 kB / 271 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.004247, allocations: 8 kB / 271 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/0.004617, allocations: 407.3 kB / 271.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.004716, allocations: 63.81 kB / 271.5 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.004754, allocations: 8 kB / 271.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.315e-05/0.004777, allocations: 8 kB / 271.5 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.704e-05/0.004844, allocations: 75.64 kB / 271.5 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.004905, allocations: 51.8 kB / 271.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.005122, allocations: 263.1 kB / 271.9 MB, free: 2.746 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.005124, allocations: 0 / 271.9 MB, free: 2.746 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005125, allocations: 0 / 271.9 MB, free: 2.746 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005128, allocations: 0 / 271.9 MB, free: 2.746 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.0006699/0.005798, allocations: 0.7823 MB / 272.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.005846, allocations: 12.91 kB / 272.6 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.005919, allocations: 52.7 kB / 272.7 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.006168, allocations: 218.9 kB / 272.9 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.00619, allocations: 8.375 kB / 272.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.006208, allocations: 12.31 kB / 272.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.006486, allocations: 233.7 kB / 273.2 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.006495, allocations: 192 / 273.2 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.006509, allocations: 4.375 kB / 273.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.006515, allocations: 3.938 kB / 273.2 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.547e-05/0.006601, allocations: 154.8 kB / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.007052, allocations: 408 kB / 273.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.007181, allocations: 177.8 kB / 273.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.007268, allocations: 158.5 kB / 274 MB, free: 320 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.007277, allocations: 4 kB / 274 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.007501, allocations: 311 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.007503, allocations: 0 / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005397/0.008043, allocations: 0.6464 MB / 275 MB, free: 15.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.008109, allocations: 170.2 kB / 275.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.008546, allocations: 0.5061 MB / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.00857, allocations: 33.64 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.008651, allocations: 151.8 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.008684, allocations: 31.89 kB / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/0.008769, allocations: 91.08 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.008917, allocations: 0.5001 MB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.009022, allocations: 150.8 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.009131, allocations: 170.2 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.009334, allocations: 324.5 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009336, allocations: 4 kB / 277.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003824/0.009719, allocations: 467.1 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/0.009801, allocations: 126.8 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.009807, allocations: 3.938 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.00982, allocations: 0 / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.919e-05/0.009839, allocations: 7.984 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.009843, allocations: 0 / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.08e-05/0.009933, allocations: 8.125 kB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.009971, allocations: 40 kB / 277.7 MB, free: 12.2 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.000253/0.01022, allocations: 393.3 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.01027, allocations: 55.7 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.699e-05/0.01036, allocations: 51.09 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01036, allocations: 0 / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01037, allocations: 3.984 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01037, allocations: 0 / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.01102, allocations: 0.8391 MB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01102, allocations: 0 / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-06/0.01103, allocations: 3.938 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01103, allocations: 0 / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.01104, allocations: 16 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01105, allocations: 0 / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01105, allocations: 3.984 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.01147, allocations: 0.6807 MB / 279.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.0117, allocations: 177.4 kB / 280 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.01173, allocations: 8 kB / 280 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.01181, allocations: 12 kB / 280 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.01187, allocations: 19.97 kB / 280 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.01191, allocations: 40 kB / 280 MB, free: 9.719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.01212, allocations: 306.9 kB / 280.3 MB, free: 9.422 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01212, allocations: 4 kB / 280.3 MB, free: 9.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.01231, allocations: 47.89 kB / 280.4 MB, free: 9.371 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.0001086/0.01242, allocations: 115 kB / 280.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.01275, allocations: 0.5731 MB / 281.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01275, allocations: 0 / 281.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.01293, allocations: 412.2 kB / 281.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.0133, allocations: 131.9 kB / 281.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/0.01407, allocations: 0.7447 MB / 282.3 MB, free: 7.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.52e-05/0.01415, allocations: 95.27 kB / 282.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.127e-05/0.0142, allocations: 8.719 kB / 282.4 MB, free: 7.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.01444, allocations: 178.1 kB / 282.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01444, allocations: 0 / 282.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of Templates: time 0.005727/0.02017, allocations: 4.468 MB / 287.1 MB, free: 2.477 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","",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.8848676760680974]