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.0009118/0.0009118, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001122/0.001122, allocations: 169 kB / 24.91 MB, free: 8.723 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.8645/0.8645, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.452e-06/1.452e-06, allocations: 0 / 273.5 MB, free: 4.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.325e-05, allocations: 5.125 kB / 273.5 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002478/0.002502, allocations: 1.518 MB / 275 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.00435, allocations: 0.8673 MB / 275.8 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.004406, allocations: 3.938 kB / 275.8 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.931e-05/0.004505, allocations: 8.938 kB / 275.9 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.014e-05/0.004595, allocations: 23.8 kB / 275.9 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.004861, allocations: 48.44 kB / 275.9 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.005069, allocations: 148.5 kB / 276.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.884e-05/0.005147, allocations: 11.98 kB / 276.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004597/0.005607, allocations: 379.3 kB / 276.5 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.005728, allocations: 60.44 kB / 276.5 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.005763, allocations: 11.94 kB / 276.5 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.985e-05/0.005793, allocations: 14.41 kB / 276.5 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.005869, allocations: 63.72 kB / 276.6 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.959e-05/0.005948, allocations: 55.78 kB / 276.7 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.006232, allocations: 263 kB / 276.9 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.006236, allocations: 0 / 276.9 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006237, allocations: 0 / 276.9 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.006241, allocations: 1.469 kB / 276.9 MB, free: 0.9883 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.0006026/0.006844, allocations: 0.6225 MB / 277.5 MB, free: 324 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002393/0.007083, allocations: 12.03 kB / 277.5 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.007154, allocations: 28.91 kB / 277.6 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.007369, allocations: 212.9 kB / 277.8 MB, free: 44 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.00739, allocations: 4.375 kB / 277.8 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.007415, allocations: 9.031 kB / 277.8 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.007729, allocations: 237.6 kB / 278 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.007737, allocations: 192 / 278 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.007756, allocations: 8.375 kB / 278 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.007765, allocations: 7.938 kB / 278 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.007878, allocations: 146.8 kB / 278.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.008216, allocations: 208.2 kB / 278.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.008372, allocations: 165.4 kB / 278.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.008481, allocations: 155.8 kB / 278.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-06/0.008487, allocations: 3.938 kB / 278.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.008723, allocations: 309.3 kB / 279 MB, free: 14.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.008725, allocations: 0 / 279 MB, free: 14.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004335/0.009158, allocations: 0.5099 MB / 279.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.00923, allocations: 170.2 kB / 279.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.009612, allocations: 363.1 kB / 280 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.00964, allocations: 33.7 kB / 280.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.009685, allocations: 93.08 kB / 280.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.009721, allocations: 35.7 kB / 280.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/0.009813, allocations: 73.5 kB / 280.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.009903, allocations: 330.8 kB / 280.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.01001, allocations: 146.8 kB / 280.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.01013, allocations: 164.5 kB / 280.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.01033, allocations: 315 kB / 281.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01033, allocations: 0 / 281.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002919/0.01063, allocations: 351.2 kB / 281.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/0.01071, allocations: 136.8 kB / 281.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.01071, allocations: 0 / 281.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.01072, allocations: 4.031 kB / 281.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-05/0.01074, allocations: 0 / 281.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.01075, allocations: 7.938 kB / 281.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.01085, allocations: 8 kB / 281.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.0109, allocations: 35.98 kB / 281.7 MB, free: 11.57 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.0002979/0.0112, allocations: 337.4 kB / 282.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.01125, allocations: 35.91 kB / 282.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.01136, allocations: 63.06 kB / 282.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01136, allocations: 0 / 282.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01136, allocations: 0 / 282.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.01137, allocations: 4 kB / 282.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.01189, allocations: 0.5939 MB / 282.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.0119, allocations: 0 / 282.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-06/0.0119, allocations: 0 / 282.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01191, allocations: 7.938 kB / 282.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.01193, allocations: 16.09 kB / 282.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01193, allocations: 4 kB / 282.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01193, allocations: 0 / 282.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.01227, allocations: 0.4893 MB / 283.3 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/0.01273, allocations: 135.4 kB / 283.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.01277, allocations: 16 kB / 283.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.01285, allocations: 11.98 kB / 283.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.01291, allocations: 19.98 kB / 283.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.01294, allocations: 35.94 kB / 283.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.01309, allocations: 160.6 kB / 283.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01309, allocations: 0 / 283.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.01324, allocations: 40 kB / 283.7 MB, free: 9.441 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.817e-05/0.01334, allocations: 100.2 kB / 283.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.01365, allocations: 0.5585 MB / 284.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.01366, allocations: 4 kB / 284.3 MB, free: 8.672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.01382, allocations: 408.1 kB / 284.7 MB, free: 8.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.01413, allocations: 132.7 kB / 284.9 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.01483, allocations: 0.7303 MB / 285.6 MB, free: 7.293 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.402e-05/0.0149, allocations: 99.12 kB / 285.7 MB, free: 7.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.73e-05/0.01494, allocations: 8.719 kB / 285.7 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.01515, allocations: 155.7 kB / 285.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01515, allocations: 0 / 285.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of Templates: time 0.005371/0.02053, allocations: 4.354 MB / 290.2 MB, free: 2.73 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.5279735010117292]