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.001811/0.001811, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.00219/0.00219, allocations: 149.5 kB / 24.26 MB, free: 156 kB / 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.439/1.439, allocations: 173.4 MB / 200.8 MB, free: 9.281 MB / 186.7 MB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.018e-05, allocations: 2.312 kB / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003194/0.003224, allocations: 1.481 MB / 268.8 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.005348, allocations: 0.8146 MB / 269.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.00541, allocations: 0 / 269.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.936e-05/0.005509, allocations: 7.922 kB / 269.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.719e-05/0.005606, allocations: 23.8 kB / 269.6 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.005933, allocations: 59.75 kB / 269.7 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.006222, allocations: 143.7 kB / 269.8 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.006342, allocations: 15.98 kB / 269.9 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006294/0.006971, allocations: 411.2 kB / 270.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.007113, allocations: 55.81 kB / 270.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.007167, allocations: 12 kB / 270.3 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.0072, allocations: 8 kB / 270.3 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.007312, allocations: 67.72 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.00742, allocations: 55.78 kB / 270.5 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.0079, allocations: 358.8 kB / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.007905, allocations: 0 / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.007908, allocations: 3.938 kB / 270.8 MB, free: 3.184 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.007913, allocations: 0 / 270.8 MB, free: 3.184 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.0009751/0.008888, allocations: 0.6514 MB / 271.5 MB, free: 2.477 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.008936, allocations: 8.922 kB / 271.5 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.009054, allocations: 48.7 kB / 271.5 MB, free: 2.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.009397, allocations: 220 kB / 271.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.009427, allocations: 8.375 kB / 271.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.009458, allocations: 12.36 kB / 271.8 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.009898, allocations: 237 kB / 272 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.009908, allocations: 192 / 272 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.009938, allocations: 8.359 kB / 272 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.009945, allocations: 3.938 kB / 272 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.01022, allocations: 174.8 kB / 272.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.01094, allocations: 388.2 kB / 272.6 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.01124, allocations: 193.3 kB / 272.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.01149, allocations: 179.7 kB / 272.9 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.0115, allocations: 3.938 kB / 272.9 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005086/0.01201, allocations: 321.4 kB / 273.2 MB, free: 500 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.01201, allocations: 0 / 273.2 MB, free: 500 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001207/0.01322, allocations: 0.7049 MB / 273.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004096/0.01363, allocations: 162.3 kB / 274.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.01442, allocations: 0.5246 MB / 274.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.01446, allocations: 29.7 kB / 274.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/0.01456, allocations: 101 kB / 274.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.01461, allocations: 31.78 kB / 274.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.01475, allocations: 85.52 kB / 274.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.01495, allocations: 322.8 kB / 275.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.0152, allocations: 178.8 kB / 275.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.01545, allocations: 195.9 kB / 275.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.01591, allocations: 351 kB / 275.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01591, allocations: 0 / 275.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007605/0.01667, allocations: 0.5069 MB / 276.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.01679, allocations: 126.8 kB / 276.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.0168, allocations: 80 / 276.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.01682, allocations: 3.938 kB / 276.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.03e-05/0.01685, allocations: 0 / 276.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.01686, allocations: 7.984 kB / 276.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.01701, allocations: 11.98 kB / 276.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.01707, allocations: 36 kB / 276.6 MB, free: 12.81 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.0004222/0.01749, allocations: 362.6 kB / 276.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.01758, allocations: 59.73 kB / 277 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.0177, allocations: 63.08 kB / 277 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.0177, allocations: 0 / 277 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01771, allocations: 0 / 277 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01771, allocations: 4 kB / 277.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.01897, allocations: 0.8627 MB / 277.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01897, allocations: 0 / 277.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-06/0.01898, allocations: 0 / 277.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01898, allocations: 0 / 277.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.01902, allocations: 19.98 kB / 277.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01902, allocations: 3.938 kB / 277.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01902, allocations: 4 kB / 277.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/0.01995, allocations: 0.6608 MB / 278.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.02034, allocations: 201.4 kB / 278.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/0.0204, allocations: 12 kB / 278.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.02055, allocations: 11.98 kB / 278.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.02068, allocations: 19.98 kB / 278.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.482e-05/0.02075, allocations: 43.98 kB / 278.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005778/0.02133, allocations: 386.9 kB / 279.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02133, allocations: 0 / 279.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003174/0.02165, allocations: 51.89 kB / 279.3 MB, free: 9.875 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.0002024/0.02185, allocations: 119 kB / 279.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008526/0.0227, allocations: 0.6085 MB / 280 MB, free: 9.043 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0227, allocations: 0 / 280 MB, free: 9.043 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.02317, allocations: 424.4 kB / 280.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007179/0.02389, allocations: 134.6 kB / 280.6 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.02562, allocations: 0.7825 MB / 281.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.02594, allocations: 201.8 kB / 281.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.133e-05/0.02599, allocations: 4.734 kB / 281.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.02602, allocations: 12.5 kB / 281.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02602, allocations: 0 / 281.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of Templates: time 0.009782/0.03581, allocations: 4.767 MB / 286.3 MB, free: 2.672 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.299503255053423]