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.001457/0.001457, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001638/0.001638, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.48/1.48, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009736/0.0009736, allocations: 49.39 kB / 302.1 MB, free: 5.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1072, allocations: 49.45 MB / 351.5 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003169/0.1104, allocations: 1.509 MB / 353 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1126, allocations: 0.8512 MB / 353.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.1127, allocations: 0 / 353.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.1128, allocations: 7.938 kB / 353.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.531e-05/0.1129, allocations: 23.73 kB / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.1133, allocations: 51.88 kB / 353.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.1136, allocations: 143.8 kB / 354.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1137, allocations: 27.92 kB / 354.1 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004884/0.1142, allocations: 379.3 kB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1144, allocations: 63.77 kB / 354.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.1144, allocations: 11.94 kB / 354.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.08e-05/0.1145, allocations: 12 kB / 354.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1146, allocations: 63.7 kB / 354.6 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1147, allocations: 107.2 kB / 354.7 MB, free: 416 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.1151, allocations: 358.7 kB / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1151, allocations: 0 / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1151, allocations: 0 / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1151, allocations: 3.984 kB / 355.1 MB, free: 52 kB / 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.0008936/0.116, allocations: 0.7149 MB / 355.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1161, allocations: 15.95 kB / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.1161, allocations: 40.47 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1165, allocations: 270.3 kB / 356.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.1165, allocations: 8.359 kB / 356.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.1166, allocations: 12.38 kB / 356.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.1169, allocations: 129.9 kB / 356.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1169, allocations: 0 / 356.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1169, allocations: 4 kB / 356.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1169, allocations: 3.984 kB / 356.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.1171, allocations: 63.89 kB / 356.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.1178, allocations: 452.5 kB / 356.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.118, allocations: 102.5 kB / 356.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.1182, allocations: 80.89 kB / 357 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.1182, allocations: 0 / 357 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/0.1186, allocations: 201.8 kB / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1186, allocations: 0 / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008064/0.1195, allocations: 464.1 kB / 357.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.1196, allocations: 174.2 kB / 357.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00071/0.1203, allocations: 0.5168 MB / 358.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.1204, allocations: 29.7 kB / 358.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.1205, allocations: 101.1 kB / 358.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.1205, allocations: 31.64 kB / 358.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.1206, allocations: 81.41 kB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1208, allocations: 322.8 kB / 358.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1209, allocations: 55.97 kB / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.1211, allocations: 73.69 kB / 359 MB, free: 11.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.1215, allocations: 343.2 kB / 359.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1215, allocations: 3.938 kB / 359.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00055/0.122, allocations: 387.2 kB / 359.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/0.1221, allocations: 122.8 kB / 359.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1222, allocations: 0 / 359.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1222, allocations: 0 / 359.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-05/0.1222, allocations: 112 / 359.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1222, allocations: 11.97 kB / 359.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1224, allocations: 15.98 kB / 359.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.1224, allocations: 36 kB / 359.9 MB, free: 10.84 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.0003589/0.1228, allocations: 370.2 kB / 360.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.1229, allocations: 39.53 kB / 360.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.123, allocations: 67.14 kB / 360.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.123, allocations: 0 / 360.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.123, allocations: 4.125 kB / 360.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.123, allocations: 4 kB / 360.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009829/0.124, allocations: 0.8056 MB / 361.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.124, allocations: 0 / 361.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-06/0.124, allocations: 0 / 361.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.124, allocations: 0 / 361.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.1241, allocations: 12 kB / 361.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1241, allocations: 7.984 kB / 361.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1241, allocations: 3.938 kB / 361.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006521/0.1247, allocations: 0.5251 MB / 361.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.1251, allocations: 244.4 kB / 361.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.1252, allocations: 8 kB / 361.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1253, allocations: 11.98 kB / 362 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.1255, allocations: 31.91 kB / 362 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.1255, allocations: 39.94 kB / 362 MB, free: 8.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004631/0.126, allocations: 390.9 kB / 362.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.126, allocations: 0 / 362.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.1263, allocations: 43.94 kB / 362.5 MB, free: 8.078 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.0002/0.1265, allocations: 123 kB / 362.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005365/0.1271, allocations: 437.5 kB / 363 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1271, allocations: 0 / 363 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.1274, allocations: 377.6 kB / 363.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.1281, allocations: 117.4 kB / 363.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.1293, allocations: 0.6575 MB / 364.1 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.1298, allocations: 0.8022 MB / 364.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.1299, allocations: 12.64 kB / 365 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.1299, allocations: 11.44 kB / 365 MB, free: 5.414 MB / 302.1 MB Notification: Performance of SimCode: time 1.312e-06/0.1299, allocations: 3.938 kB / 365 MB, free: 5.41 MB / 302.1 MB Notification: Performance of Templates: time 0.008302/0.1382, allocations: 4.382 MB / 369.4 MB, free: 1.074 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/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