Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008794/0.0008794, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003204/0.003204, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8872/0.8872, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.033e-05, allocations: 6.281 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001914/0.001945, allocations: 1.496 MB / 327.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.003346, allocations: 0.8458 MB / 328.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.003394, allocations: 0 / 328.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.195e-05/0.003486, allocations: 7.922 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.003557, allocations: 15.86 kB / 328.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.003809, allocations: 59.75 kB / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.003978, allocations: 131.7 kB / 328.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.004074, allocations: 15.98 kB / 328.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.004421, allocations: 411.2 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.004521, allocations: 59.81 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.004554, allocations: 12 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.989e-05/0.004574, allocations: 8 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.004648, allocations: 71.77 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.004712, allocations: 47.8 kB / 328.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.004976, allocations: 358.8 kB / 329.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.004979, allocations: 0 / 329.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.004981, allocations: 0 / 329.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.004985, allocations: 0 / 329.3 MB, free: 11.82 MB / 298.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.0008271/0.005812, allocations: 0.6552 MB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.005853, allocations: 15.98 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.00591, allocations: 40.7 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.006117, allocations: 220.1 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.006141, allocations: 4.375 kB / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.00616, allocations: 8.375 kB / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.006431, allocations: 245 kB / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.006441, allocations: 4.125 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.006457, allocations: 4.375 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.006466, allocations: 11.88 kB / 330.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.006586, allocations: 174.8 kB / 330.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.007027, allocations: 388.2 kB / 331 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.007196, allocations: 201.3 kB / 331.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.00731, allocations: 175.7 kB / 331.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.007322, allocations: 3.938 kB / 331.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.007617, allocations: 321.5 kB / 331.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.007618, allocations: 0 / 331.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005778/0.008196, allocations: 0.6931 MB / 332.4 MB, free: 8.332 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.00826, allocations: 170.2 kB / 332.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.008645, allocations: 0.513 MB / 333.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.008667, allocations: 29.7 kB / 333.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.008718, allocations: 109.1 kB / 333.2 MB, free: 7.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.008745, allocations: 31.78 kB / 333.3 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.008816, allocations: 81.5 kB / 333.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.008893, allocations: 322.8 kB / 333.7 MB, free: 7.023 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.009005, allocations: 174.8 kB / 333.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.009122, allocations: 196.4 kB / 334 MB, free: 6.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.009326, allocations: 362.8 kB / 334.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.009328, allocations: 0 / 334.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003414/0.00967, allocations: 0.4913 MB / 334.9 MB, free: 5.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.009736, allocations: 130.8 kB / 335 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.009741, allocations: 4.031 kB / 335 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.009755, allocations: 0 / 335 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.945e-05/0.009774, allocations: 0 / 335 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.009779, allocations: 0 / 335 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.009869, allocations: 12 kB / 335 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.009907, allocations: 44.03 kB / 335.1 MB, free: 5.441 MB / 298.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.0002281/0.01014, allocations: 358.6 kB / 335.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.01016, allocations: 43.7 kB / 335.4 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.01023, allocations: 67.08 kB / 335.5 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01024, allocations: 4 kB / 335.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01024, allocations: 0 / 335.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01024, allocations: 0 / 335.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.01084, allocations: 0.8626 MB / 336.4 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01085, allocations: 4 kB / 336.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-06/0.01085, allocations: 0 / 336.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01085, allocations: 0 / 336.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.01087, allocations: 12.19 kB / 336.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01087, allocations: 7.984 kB / 336.4 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01088, allocations: 4 kB / 336.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.01156, allocations: 0.653 MB / 337.1 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.01178, allocations: 209.4 kB / 337.3 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.01181, allocations: 15.98 kB / 337.3 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.01189, allocations: 8 kB / 337.3 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.01198, allocations: 23.97 kB / 337.3 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.01201, allocations: 43.94 kB / 337.4 MB, free: 2.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002699/0.01228, allocations: 394.9 kB / 337.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01228, allocations: 0 / 337.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.01247, allocations: 44 kB / 337.8 MB, free: 2.523 MB / 298.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.0001145/0.01258, allocations: 111 kB / 337.9 MB, free: 2.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.01297, allocations: 0.6085 MB / 338.5 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01297, allocations: 0 / 338.5 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.01317, allocations: 428.4 kB / 338.9 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.01355, allocations: 134.6 kB / 339 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000796/0.01435, allocations: 0.8208 MB / 339.9 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.0145, allocations: 189.7 kB / 340.1 MB, free: 0 / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.01453, allocations: 16.61 kB / 340.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01453, allocations: 0 / 340.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of Templates: time 0.002912/0.01744, allocations: 2.495 MB / 342.6 MB, free: 13.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.468075037933886]