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.001276/0.001276, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001465/0.001465, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 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 1.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001545/0.001545, allocations: 47.92 kB / 378.9 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2624, allocations: 53.38 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002712/0.2651, allocations: 1.493 MB / 433.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.2671, allocations: 0.8381 MB / 434.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.2671, allocations: 4 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.308e-05/0.2672, allocations: 11.86 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.293e-05/0.2673, allocations: 15.86 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.2676, allocations: 55.88 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.2678, allocations: 135.7 kB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.2679, allocations: 11.98 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.2684, allocations: 391.3 kB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2685, allocations: 75.69 kB / 435.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.2685, allocations: 12 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.2686, allocations: 12 kB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.2687, allocations: 63.7 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.2688, allocations: 79.36 kB / 435.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.2692, allocations: 365.2 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2692, allocations: 3.938 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2692, allocations: 3.938 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.2692, allocations: 0 / 435.9 MB, free: 3.156 MB / 334.1 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.0008957/0.2701, allocations: 0.6514 MB / 436.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2701, allocations: 8.031 kB / 436.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2702, allocations: 44.7 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.2706, allocations: 220.8 kB / 436.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2706, allocations: 4.375 kB / 436.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.2706, allocations: 8.375 kB / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.271, allocations: 240.7 kB / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.271, allocations: 4 kB / 437 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.271, allocations: 4 kB / 437 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.271, allocations: 4 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.2713, allocations: 174.7 kB / 437.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/0.272, allocations: 388.2 kB / 437.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.2723, allocations: 197.3 kB / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.2725, allocations: 183.6 kB / 438 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2725, allocations: 0 / 438 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004646/0.273, allocations: 319.6 kB / 438.3 MB, free: 480 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.273, allocations: 0 / 438.3 MB, free: 480 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009719/0.274, allocations: 0.6893 MB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.2741, allocations: 174.1 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/0.2748, allocations: 0.5168 MB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.2748, allocations: 29.81 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.2749, allocations: 109.1 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.2749, allocations: 23.84 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.2751, allocations: 81.52 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.2753, allocations: 326.8 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.2756, allocations: 174.8 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.2758, allocations: 192.5 kB / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.2762, allocations: 358.5 kB / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2762, allocations: 0 / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006435/0.2768, allocations: 499.1 kB / 441.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.892e-05/0.2769, allocations: 126.8 kB / 441.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2769, allocations: 4.031 kB / 441.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2769, allocations: 0 / 441.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.188e-05/0.277, allocations: 0 / 441.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.277, allocations: 4 kB / 441.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2771, allocations: 15.94 kB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.2772, allocations: 36 kB / 441.6 MB, free: 12.82 MB / 350.1 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.0003609/0.2775, allocations: 362.2 kB / 442 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.2776, allocations: 47.73 kB / 442 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.2777, allocations: 71.03 kB / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2777, allocations: 4 kB / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2777, allocations: 0 / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2777, allocations: 0 / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.2788, allocations: 0.851 MB / 442.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2788, allocations: 0 / 442.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-06/0.2788, allocations: 3.984 kB / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2788, allocations: 0 / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.2788, allocations: 12 kB / 442.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2788, allocations: 0 / 442.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2788, allocations: 0 / 442.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/0.2796, allocations: 0.6518 MB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.28, allocations: 213.3 kB / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.28, allocations: 12 kB / 443.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.2802, allocations: 11.98 kB / 443.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2803, allocations: 27.91 kB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.2804, allocations: 40.12 kB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000493/0.2808, allocations: 386.9 kB / 444.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2808, allocations: 0 / 444.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.2811, allocations: 51.94 kB / 444.3 MB, free: 9.914 MB / 350.1 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.0001519/0.2813, allocations: 119 kB / 444.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006667/0.282, allocations: 0.6007 MB / 445 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.282, allocations: 4 kB / 445 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.2824, allocations: 428.3 kB / 445.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.283, allocations: 122 kB / 445.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.2842, allocations: 0.8217 MB / 446.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.2845, allocations: 190.3 kB / 446.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.2845, allocations: 19.5 kB / 446.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2845, allocations: 0 / 446.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of Templates: time 0.004854/0.2894, allocations: 2.5 MB / 449.1 MB, free: 4.887 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.535821219003992]