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.001035/0.001035, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001084/0.001084, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9835/0.9835, allocations: 177.1 MB / 205 MB, free: 5.641 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.994e-06/1.994e-06, allocations: 0 / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.195e-05, allocations: 2.312 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002998/0.00303, allocations: 1.552 MB / 274.5 MB, free: 4 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.005447, allocations: 0.8497 MB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.005521, allocations: 7.938 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.005646, allocations: 7.922 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.005755, allocations: 23.86 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.006112, allocations: 47.88 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.006347, allocations: 143.6 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.006471, allocations: 15.88 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.006992, allocations: 403.4 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.007151, allocations: 63.8 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.0072, allocations: 8 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.00723, allocations: 12 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.007325, allocations: 67.66 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.007425, allocations: 55.78 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.007768, allocations: 267.1 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.007771, allocations: 0 / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007772, allocations: 3.938 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.00778, allocations: 0 / 276.5 MB, free: 14.04 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.000903/0.008683, allocations: 0.7862 MB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.00874, allocations: 8.031 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.856e-05/0.008839, allocations: 48.7 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.009124, allocations: 211 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.009154, allocations: 8.375 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.009184, allocations: 8.375 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.009583, allocations: 257.6 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.009596, allocations: 192 / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.009616, allocations: 384 / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.009627, allocations: 7.938 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.009799, allocations: 162.8 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/0.0106, allocations: 0.4915 MB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.01084, allocations: 185.8 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.01101, allocations: 174.5 kB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.01102, allocations: 11.94 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.01134, allocations: 319.1 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.01134, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000848/0.01219, allocations: 0.6737 MB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.01227, allocations: 170.2 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008693/0.01314, allocations: 0.6232 MB / 280.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.01317, allocations: 33.81 kB / 280.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.01325, allocations: 151.7 kB / 280.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.01329, allocations: 23.86 kB / 280.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.0134, allocations: 91.16 kB / 280.9 MB, free: 9.184 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.01356, allocations: 0.4962 MB / 281.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.01373, allocations: 162.8 kB / 281.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.01391, allocations: 186.2 kB / 281.7 MB, free: 8.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.0142, allocations: 336.9 kB / 282 MB, free: 7.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01421, allocations: 0 / 282 MB, free: 7.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005657/0.01477, allocations: 487 kB / 282.5 MB, free: 7.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/0.01487, allocations: 126.8 kB / 282.6 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01487, allocations: 4 kB / 282.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.0149, allocations: 4.031 kB / 282.7 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.985e-05/0.01493, allocations: 3.938 kB / 282.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.01493, allocations: 0 / 282.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.01508, allocations: 15.95 kB / 282.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.01514, allocations: 43.98 kB / 282.7 MB, free: 7.145 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.0003374/0.01548, allocations: 381.3 kB / 283.1 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.01555, allocations: 51.7 kB / 283.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.01566, allocations: 55.08 kB / 283.2 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01566, allocations: 4 kB / 283.2 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01567, allocations: 4 kB / 283.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01567, allocations: 0 / 283.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.01679, allocations: 0.9516 MB / 284.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.0168, allocations: 0 / 284.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-06/0.0168, allocations: 0 / 284.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01681, allocations: 0 / 284.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.01683, allocations: 15.98 kB / 284.2 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01684, allocations: 4 kB / 284.2 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01684, allocations: 0 / 284.2 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.01753, allocations: 0.6924 MB / 284.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.01787, allocations: 185.4 kB / 285 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.01793, allocations: 16 kB / 285.1 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.01806, allocations: 11.98 kB / 285.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.01818, allocations: 19.97 kB / 285.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/0.01824, allocations: 48.12 kB / 285.1 MB, free: 4.527 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005496/0.01879, allocations: 426.7 kB / 285.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01879, allocations: 0 / 285.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.01911, allocations: 44 kB / 285.6 MB, free: 4.074 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.0001543/0.01926, allocations: 119 kB / 285.7 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005916/0.01986, allocations: 0.6042 MB / 286.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01986, allocations: 0 / 286.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.02017, allocations: 416.1 kB / 286.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.02081, allocations: 149.9 kB / 286.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.02202, allocations: 0.7447 MB / 287.6 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.02216, allocations: 95.27 kB / 287.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.02221, allocations: 12.7 kB / 287.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.02225, allocations: 20.56 kB / 287.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of SimCode: time 2.295e-06/0.02226, allocations: 0 / 287.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of Templates: time 0.008939/0.03119, allocations: 4.776 MB / 292.5 MB, free: 12.96 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: 3.0420419652946293]