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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 55.41 kB / 306.9 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1152, allocations: 50.53 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003134/0.1184, allocations: 1.537 MB / 359 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1205, allocations: 0.8787 MB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.1206, allocations: 4 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1208, allocations: 15.86 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.1209, allocations: 11.88 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1212, allocations: 51.88 kB / 360 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.1216, allocations: 147.7 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1217, allocations: 27.95 kB / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.1222, allocations: 371.3 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1224, allocations: 63.7 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.1224, allocations: 12 kB / 360.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.1225, allocations: 11.94 kB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1226, allocations: 63.77 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1227, allocations: 115.2 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.1231, allocations: 350.8 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1232, allocations: 0 / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1232, allocations: 0 / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1232, allocations: 4 kB / 361.1 MB, free: 10.46 MB / 302.1 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.0009944/0.1242, allocations: 0.7152 MB / 361.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1242, allocations: 11.97 kB / 361.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.867e-05/0.1243, allocations: 44.47 kB / 361.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.1246, allocations: 274.2 kB / 362.1 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1247, allocations: 12.38 kB / 362.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.1247, allocations: 8.375 kB / 362.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.125, allocations: 129.9 kB / 362.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.1251, allocations: 0 / 362.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.1251, allocations: 8 kB / 362.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1251, allocations: 0 / 362.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1253, allocations: 59.91 kB / 362.3 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008879/0.1262, allocations: 456.5 kB / 362.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.1264, allocations: 90.55 kB / 362.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.1266, allocations: 92.83 kB / 363 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.1266, allocations: 0 / 363 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004609/0.1271, allocations: 198.7 kB / 363.2 MB, free: 8.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.1271, allocations: 0 / 363.2 MB, free: 8.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008915/0.128, allocations: 460.1 kB / 363.6 MB, free: 7.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.1281, allocations: 170.2 kB / 363.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.1289, allocations: 0.5246 MB / 364.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.1289, allocations: 33.7 kB / 364.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.129, allocations: 97.12 kB / 364.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.1291, allocations: 31.64 kB / 364.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.1292, allocations: 77.42 kB / 364.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1294, allocations: 326.8 kB / 364.9 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1295, allocations: 55.97 kB / 364.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.1297, allocations: 73.67 kB / 365 MB, free: 6.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.13, allocations: 346.7 kB / 365.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.13, allocations: 0 / 365.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000558/0.1306, allocations: 376.2 kB / 365.7 MB, free: 5.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.732e-05/0.1307, allocations: 130.7 kB / 365.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1307, allocations: 0 / 365.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1307, allocations: 0 / 365.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.422e-05/0.1308, allocations: 112 / 365.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1308, allocations: 7.938 kB / 365.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.1309, allocations: 16.02 kB / 365.8 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.131, allocations: 36 kB / 365.9 MB, free: 5.25 MB / 302.1 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.0003487/0.1314, allocations: 371.4 kB / 366.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.1314, allocations: 39.53 kB / 366.3 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.72e-05/0.1315, allocations: 63.16 kB / 366.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1315, allocations: 0 / 366.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1315, allocations: 0 / 366.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1316, allocations: 0 / 366.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009014/0.1325, allocations: 0.8288 MB / 367.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1325, allocations: 0 / 367.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-06/0.1325, allocations: 3.938 kB / 367.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1325, allocations: 3.984 kB / 367.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.1325, allocations: 8 kB / 367.2 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1325, allocations: 4 kB / 367.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1325, allocations: 3.938 kB / 367.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.1331, allocations: 0.5175 MB / 367.7 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.1335, allocations: 244.4 kB / 367.9 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.1336, allocations: 8 kB / 368 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1337, allocations: 11.98 kB / 368 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.1338, allocations: 31.86 kB / 368 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/0.1339, allocations: 47.92 kB / 368 MB, free: 2.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005412/0.1345, allocations: 386.9 kB / 368.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1345, allocations: 0 / 368.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000324/0.1348, allocations: 43.94 kB / 368.5 MB, free: 2.477 MB / 302.1 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.0002159/0.135, allocations: 119 kB / 368.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006368/0.1357, allocations: 437.5 kB / 369 MB, free: 1.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1357, allocations: 3.938 kB / 369 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.1361, allocations: 369.6 kB / 369.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.1368, allocations: 132.3 kB / 369.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1379, allocations: 0.6575 MB / 370.2 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1896/0.3276, allocations: 0.7987 MB / 371 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.3277, allocations: 10.34 kB / 371 MB, free: 20.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.3277, allocations: 11.84 kB / 371 MB, free: 20.12 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3277, allocations: 0 / 371 MB, free: 20.12 MB / 302.1 MB Notification: Performance of Templates: time 0.008798/0.3365, allocations: 4.383 MB / 375.4 MB, free: 19.83 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches