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.002641/0.002641, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003084/0.003084, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.621/1.621, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.304e-06/2.304e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.554e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.004141/0.004177, allocations: 1.517 MB / 273.7 MB, free: 276 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.007424, allocations: 0.8497 MB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.007502, allocations: 0 / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.007654, allocations: 11.92 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.007789, allocations: 19.8 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.008201, allocations: 55.81 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.008533, allocations: 139.7 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.008671, allocations: 12 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008001/0.009471, allocations: 411.2 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.009648, allocations: 59.81 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.686e-05/0.009725, allocations: 12 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.374e-05/0.009779, allocations: 15.94 kB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.009909, allocations: 63.78 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.01005, allocations: 55.78 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.01071, allocations: 350.8 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.01071, allocations: 0 / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01071, allocations: 0 / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.01072, allocations: 0 / 275.7 MB, free: 14.23 MB / 266.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.001356/0.01208, allocations: 0.8055 MB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.01213, allocations: 11.98 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.01227, allocations: 48.7 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.0127, allocations: 218.9 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.01273, allocations: 16.36 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.01276, allocations: 8.375 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.01329, allocations: 248.9 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.0133, allocations: 192 / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.01333, allocations: 4.375 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.01334, allocations: 7.938 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.01368, allocations: 178.8 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.01497, allocations: 0.5384 MB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.01536, allocations: 209.8 kB / 278 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.0157, allocations: 206.6 kB / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.01572, allocations: 3.938 kB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005878/0.01631, allocations: 339.1 kB / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.01631, allocations: 0 / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001565/0.01787, allocations: 0.7167 MB / 279.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.01804, allocations: 166.2 kB / 279.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.01986, allocations: 0.7014 MB / 280.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.01991, allocations: 29.7 kB / 280.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.02007, allocations: 155.8 kB / 280.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.02013, allocations: 27.8 kB / 280.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.02034, allocations: 99.16 kB / 280.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003649/0.0207, allocations: 0.504 MB / 280.9 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.02102, allocations: 170.8 kB / 281.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.02137, allocations: 206.1 kB / 281.3 MB, free: 8.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/0.02196, allocations: 361 kB / 281.7 MB, free: 7.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.02196, allocations: 0 / 281.7 MB, free: 7.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001053/0.02301, allocations: 0.5069 MB / 282.2 MB, free: 7.168 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.02317, allocations: 130.8 kB / 282.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.02317, allocations: 0 / 282.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.02319, allocations: 4.031 kB / 282.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.162e-05/0.02322, allocations: 4 kB / 282.3 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.02323, allocations: 0 / 282.3 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.02342, allocations: 11.94 kB / 282.3 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/0.02351, allocations: 39.98 kB / 282.4 MB, free: 6.957 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.0005706/0.02408, allocations: 389.3 kB / 282.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.0242, allocations: 51.7 kB / 282.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.02436, allocations: 55.08 kB / 282.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.02436, allocations: 3.938 kB / 282.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.02437, allocations: 4 kB / 282.8 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.02437, allocations: 4 kB / 282.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.02628, allocations: 1.041 MB / 283.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02628, allocations: 0 / 283.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-06/0.02629, allocations: 0 / 283.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.0263, allocations: 0 / 283.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.02634, allocations: 15.98 kB / 283.9 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.02634, allocations: 0 / 283.9 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02635, allocations: 0 / 283.9 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.02761, allocations: 0.7354 MB / 284.6 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/0.0282, allocations: 189.6 kB / 284.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/0.02827, allocations: 8 kB / 284.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.02847, allocations: 23.94 kB / 284.9 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.02865, allocations: 27.95 kB / 284.9 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/0.02875, allocations: 47.92 kB / 284.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009197/0.02967, allocations: 454.7 kB / 285.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02967, allocations: 0 / 285.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004478/0.03011, allocations: 44 kB / 285.4 MB, free: 3.703 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.000209/0.03032, allocations: 111 kB / 285.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.03138, allocations: 0.6473 MB / 286.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.03138, allocations: 4.062 kB / 286.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000613/0.032, allocations: 468 kB / 286.6 MB, free: 2.293 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/0.03296, allocations: 144.6 kB / 286.8 MB, free: 2.164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.0351, allocations: 0.772 MB / 287.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.0355, allocations: 181.7 kB / 287.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.879e-05/0.03558, allocations: 8.719 kB / 287.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.03563, allocations: 16.5 kB / 287.8 MB, free: 1.117 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03563, allocations: 3.938 kB / 287.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of Templates: time 0.01352/0.04915, allocations: 4.754 MB / 292.5 MB, free: 12.41 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] 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.723078178940341]