Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 107.7 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.00175, allocations: 185.8 kB / 17.55 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 58.91 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09283, allocations: 49.44 MB / 349.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002491/0.09536, allocations: 1.582 MB / 351.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.09699, allocations: 0.8498 MB / 352 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.09704, allocations: 0 / 352 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.324e-05/0.09713, allocations: 3.938 kB / 352 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.09724, allocations: 19.91 kB / 352 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.09747, allocations: 39.91 kB / 352.1 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.09767, allocations: 151.7 kB / 352.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.09778, allocations: 19.98 kB / 352.2 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.09819, allocations: 383.3 kB / 352.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.09831, allocations: 67.75 kB / 352.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.09835, allocations: 8 kB / 352.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.071e-05/0.09839, allocations: 12 kB / 352.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.33e-05/0.09848, allocations: 63.7 kB / 352.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.0986, allocations: 123.2 kB / 352.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.09893, allocations: 350.8 kB / 353.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.09895, allocations: 0 / 353.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09895, allocations: 0 / 353.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.09896, allocations: 0 / 353.2 MB, free: 1.098 MB / 286.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.0006973/0.09966, allocations: 0.723 MB / 353.9 MB, free: 308 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.09971, allocations: 8.031 kB / 353.9 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.09978, allocations: 40.47 kB / 354 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1001, allocations: 270.3 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1001, allocations: 16.34 kB / 354.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.1001, allocations: 8.375 kB / 354.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.1004, allocations: 125.9 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1005, allocations: 0 / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.1005, allocations: 4 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1005, allocations: 4 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1007, allocations: 63.89 kB / 354.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.1013, allocations: 464.4 kB / 354.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1015, allocations: 94.53 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.1017, allocations: 88.89 kB / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-06/0.1017, allocations: 3.938 kB / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003103/0.102, allocations: 198.6 kB / 355.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.102, allocations: 0 / 355.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007752/0.1028, allocations: 464 kB / 355.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.1029, allocations: 166.2 kB / 355.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.1035, allocations: 0.5129 MB / 356.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1036, allocations: 37.7 kB / 356.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.1036, allocations: 97.12 kB / 356.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.1037, allocations: 31.58 kB / 356.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1038, allocations: 77.42 kB / 356.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1039, allocations: 330.8 kB / 357 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1041, allocations: 51.97 kB / 357 MB, free: 12.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1042, allocations: 77.67 kB / 357.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.1045, allocations: 342.7 kB / 357.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1045, allocations: 0 / 357.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005163/0.1051, allocations: 380.3 kB / 357.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.635e-05/0.1051, allocations: 122.8 kB / 357.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1052, allocations: 0 / 357.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1052, allocations: 7.984 kB / 357.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.259e-05/0.1052, allocations: 0 / 357.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1052, allocations: 0 / 357.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1054, allocations: 12.03 kB / 358 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.1054, allocations: 43.98 kB / 358 MB, free: 11.89 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.0003275/0.1058, allocations: 362.2 kB / 358.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.1058, allocations: 39.53 kB / 358.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.1059, allocations: 67.14 kB / 358.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.1059, allocations: 4 kB / 358.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.106, allocations: 112 / 358.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.106, allocations: 3.938 kB / 358.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/0.1069, allocations: 0.8096 MB / 359.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1069, allocations: 0 / 359.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.505e-06/0.1069, allocations: 4 kB / 359.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1069, allocations: 0 / 359.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.107, allocations: 11.98 kB / 359.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.107, allocations: 3.938 kB / 359.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.107, allocations: 3.938 kB / 359.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.1076, allocations: 0.5212 MB / 359.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.1079, allocations: 256.4 kB / 360.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.108, allocations: 12 kB / 360.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1081, allocations: 8 kB / 360.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1082, allocations: 27.91 kB / 360.1 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.1083, allocations: 47.92 kB / 360.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005171/0.1088, allocations: 394.8 kB / 360.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1088, allocations: 0 / 360.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.1091, allocations: 43.94 kB / 360.6 MB, free: 9.113 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.0001476/0.1093, allocations: 119 kB / 360.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005162/0.1098, allocations: 437.5 kB / 361.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1098, allocations: 0 / 361.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.1101, allocations: 373.6 kB / 361.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.1108, allocations: 122.9 kB / 361.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1118, allocations: 0.7668 MB / 362.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.1123, allocations: 0.8022 MB / 363.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.4e-05/0.1123, allocations: 8.656 kB / 363.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.1123, allocations: 15.44 kB / 363.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1123, allocations: 0 / 363.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of Templates: time 0.007351/0.1197, allocations: 4.25 MB / 367.5 MB, free: 2.129 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches