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.0009638/0.0009638, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00168/0.00168, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.087/1.087, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.713e-06/1.713e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.528e-05, allocations: 6.25 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.005319/0.005344, allocations: 1.547 MB / 274.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.006979, allocations: 0.8458 MB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.176e-05/0.007051, allocations: 3.938 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.945e-05/0.00714, allocations: 7.922 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.01024, allocations: 19.86 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.01052, allocations: 55.81 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.01072, allocations: 139.7 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.01081, allocations: 12 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.0113, allocations: 411.2 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.01142, allocations: 59.81 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.01146, allocations: 12 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.59e-05/0.01148, allocations: 8 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.01156, allocations: 67.7 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.01163, allocations: 55.73 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.0119, allocations: 259.1 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.0119, allocations: 4 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0119, allocations: 0 / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.01191, allocations: 4 kB / 276.9 MB, free: 13.78 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.0006996/0.0126, allocations: 0.7901 MB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01264, allocations: 8.031 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.01272, allocations: 48.7 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.01292, allocations: 215 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.01294, allocations: 4.375 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.01296, allocations: 12.31 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.01626, allocations: 233.6 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.01627, allocations: 8.188 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.01628, allocations: 384 / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01629, allocations: 11.92 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.01641, allocations: 150.8 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.01694, allocations: 400 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.01711, allocations: 185.8 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01722, allocations: 162.5 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.01723, allocations: 0 / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.01746, allocations: 315 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.01746, allocations: 0 / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006547/0.01812, allocations: 0.6541 MB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.01819, allocations: 166.2 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/0.01878, allocations: 0.5138 MB / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.0188, allocations: 29.7 kB / 280.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.01888, allocations: 151.8 kB / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.01891, allocations: 23.84 kB / 280.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.01901, allocations: 91.14 kB / 281 MB, free: 9.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.003143/0.02216, allocations: 0.4923 MB / 281.5 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.02227, allocations: 154.8 kB / 281.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.02238, allocations: 174.1 kB / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.02258, allocations: 332.7 kB / 282.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02259, allocations: 0 / 282.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000409/0.023, allocations: 463.1 kB / 282.6 MB, free: 7.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.652e-05/0.02307, allocations: 122.8 kB / 282.7 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.02308, allocations: 0 / 282.7 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.02309, allocations: 4 kB / 282.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-05/0.0231, allocations: 8.078 kB / 282.7 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.02311, allocations: 3.938 kB / 282.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.98e-05/0.02321, allocations: 15.95 kB / 282.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.02325, allocations: 43.98 kB / 282.8 MB, free: 7.219 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.0002895/0.02354, allocations: 381.3 kB / 283.2 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.0236, allocations: 51.7 kB / 283.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.947e-05/0.0237, allocations: 59.06 kB / 283.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.0237, allocations: 0 / 283.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.0237, allocations: 4 kB / 283.3 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.0237, allocations: 128 / 283.3 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007456/0.02445, allocations: 0.8391 MB / 284.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02445, allocations: 0 / 284.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-06/0.02446, allocations: 7.938 kB / 284.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.02446, allocations: 0 / 284.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.02449, allocations: 15.98 kB / 284.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.02449, allocations: 0 / 284.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.02449, allocations: 0 / 284.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.02657, allocations: 0.673 MB / 284.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.02687, allocations: 185.3 kB / 285 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.02691, allocations: 12 kB / 285 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.02702, allocations: 15.98 kB / 285 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.02708, allocations: 15.98 kB / 285 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.02712, allocations: 43.94 kB / 285.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002864/0.02741, allocations: 306.8 kB / 285.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02741, allocations: 0 / 285.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000283/0.02769, allocations: 44 kB / 285.4 MB, free: 4.402 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.0001211/0.02782, allocations: 107 kB / 285.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.02822, allocations: 0.5807 MB / 286.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02822, allocations: 4.062 kB / 286.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.02846, allocations: 412 kB / 286.5 MB, free: 3.117 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.02882, allocations: 140.1 kB / 286.6 MB, free: 2.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007487/0.02957, allocations: 0.7407 MB / 287.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.898e-05/0.02964, allocations: 99.25 kB / 287.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.142e-05/0.02968, allocations: 8.703 kB / 287.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.02992, allocations: 182.5 kB / 287.7 MB, free: 1.895 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02992, allocations: 0 / 287.7 MB, free: 1.895 MB / 266.7 MB Notification: Performance of Templates: time 0.005856/0.03577, allocations: 4.45 MB / 292.1 MB, free: 13.5 MB / 282.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.913107676897198]