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.0009861/0.0009861, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001198/0.001198, allocations: 160.9 kB / 24.99 MB, free: 9.324 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.103/1.103, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.392e-06/1.392e-06, allocations: 0 / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.006e-05, allocations: 2.312 kB / 273.1 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00215/0.00217, allocations: 1.529 MB / 274.6 MB, free: 264 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.003597, allocations: 0.8575 MB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.003664, allocations: 0 / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.003776, allocations: 11.92 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.003856, allocations: 19.8 kB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.004151, allocations: 59.86 kB / 275.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.004341, allocations: 135.6 kB / 275.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.00445, allocations: 19.91 kB / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.004825, allocations: 407.3 kB / 276.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.004922, allocations: 55.81 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.004952, allocations: 12 kB / 276.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.317e-05/0.004976, allocations: 8 kB / 276.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.005045, allocations: 67.72 kB / 276.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.005115, allocations: 51.8 kB / 276.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.005353, allocations: 263.1 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.005355, allocations: 0 / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005355, allocations: 7.938 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.00536, allocations: 0 / 276.5 MB, free: 14.3 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.0005954/0.005955, allocations: 0.7901 MB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.005992, allocations: 12.03 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/0.006063, allocations: 44.7 kB / 277.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.006274, allocations: 219 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.006296, allocations: 4.375 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.006313, allocations: 12.31 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.006591, allocations: 241.7 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.006597, allocations: 192 / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.006614, allocations: 8.375 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.006621, allocations: 3.938 kB / 277.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.006726, allocations: 170.5 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.007281, allocations: 0.4915 MB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.007433, allocations: 185.8 kB / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.007549, allocations: 170.5 kB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.007559, allocations: 7.938 kB / 278.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.007777, allocations: 323.1 kB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.007778, allocations: 0 / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005519/0.00833, allocations: 0.6698 MB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.008393, allocations: 170.2 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/0.009177, allocations: 0.6271 MB / 280.7 MB, free: 9.754 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.009196, allocations: 29.81 kB / 280.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.009257, allocations: 155.8 kB / 280.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.009286, allocations: 27.83 kB / 280.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.009361, allocations: 87.17 kB / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.009464, allocations: 0.4884 MB / 281.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.009571, allocations: 174.8 kB / 281.6 MB, free: 8.742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.009676, allocations: 189 kB / 281.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.009854, allocations: 336.9 kB / 282.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009857, allocations: 0 / 282.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003505/0.01021, allocations: 479.1 kB / 282.6 MB, free: 7.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.041e-05/0.01027, allocations: 130.7 kB / 282.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.01027, allocations: 0 / 282.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01028, allocations: 0 / 282.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.842e-05/0.0103, allocations: 4 kB / 282.7 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01031, allocations: 4.031 kB / 282.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.446e-05/0.0104, allocations: 19.94 kB / 282.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.01044, allocations: 40 kB / 282.8 MB, free: 7.398 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.0002181/0.01066, allocations: 381.3 kB / 283.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.0107, allocations: 55.7 kB / 283.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.697e-05/0.01077, allocations: 51.09 kB / 283.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01077, allocations: 0 / 283.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01078, allocations: 0 / 283.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01078, allocations: 0 / 283.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006874/0.01147, allocations: 0.9552 MB / 284.2 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01147, allocations: 0 / 284.2 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-06/0.01147, allocations: 4 kB / 284.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01148, allocations: 0 / 284.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.01149, allocations: 15.98 kB / 284.2 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01149, allocations: 0 / 284.2 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.0115, allocations: 0 / 284.2 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.01191, allocations: 0.708 MB / 284.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.01213, allocations: 185.4 kB / 285.1 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.01216, allocations: 12 kB / 285.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.01225, allocations: 12.19 kB / 285.2 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.01232, allocations: 19.97 kB / 285.2 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.01235, allocations: 55.92 kB / 285.2 MB, free: 4.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003454/0.0127, allocations: 430.7 kB / 285.6 MB, free: 4.355 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0127, allocations: 0 / 285.6 MB, free: 4.355 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001978/0.0129, allocations: 40 kB / 285.7 MB, free: 4.316 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.0001054/0.013, allocations: 111 kB / 285.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.01337, allocations: 0.5964 MB / 286.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01338, allocations: 0 / 286.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.01357, allocations: 428.1 kB / 286.8 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.01396, allocations: 142 kB / 286.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.01498, allocations: 0.7525 MB / 287.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.564e-05/0.01505, allocations: 95.27 kB / 287.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.413e-05/0.0151, allocations: 8.719 kB / 287.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.01512, allocations: 12.5 kB / 287.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01512, allocations: 0 / 287.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of Templates: time 0.005841/0.02096, allocations: 4.777 MB / 292.6 MB, free: 13.22 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.9916397540364414]