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.0009839/0.0009839, allocations: 111.4 kB / 17.68 MB, free: 5.496 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.001127/0.001127, allocations: 192 kB / 18.62 MB, free: 4.562 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.335/1.335, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 51.33 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1017, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002965/0.1047, allocations: 1.517 MB / 353 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1066, allocations: 0.855 MB / 353.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.1067, allocations: 0 / 353.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.1068, allocations: 7.938 kB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.107, allocations: 23.8 kB / 353.9 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.1073, allocations: 51.88 kB / 353.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.1076, allocations: 147.7 kB / 354.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1078, allocations: 15.98 kB / 354.1 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005359/0.1083, allocations: 383.3 kB / 354.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1085, allocations: 67.69 kB / 354.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.1086, allocations: 8 kB / 354.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.133e-05/0.1086, allocations: 12 kB / 354.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1087, allocations: 59.77 kB / 354.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.1089, allocations: 111.2 kB / 354.7 MB, free: 448 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.1093, allocations: 354.7 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1093, allocations: 0 / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1093, allocations: 0 / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.1093, allocations: 0 / 355.1 MB, free: 92 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.0009602/0.1103, allocations: 0.7227 MB / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1103, allocations: 12.03 kB / 355.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/0.1104, allocations: 36.47 kB / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1107, allocations: 278.3 kB / 356.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1108, allocations: 8.375 kB / 356.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1108, allocations: 12.36 kB / 356.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.1111, allocations: 129.5 kB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1111, allocations: 0 / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.1111, allocations: 4 kB / 356.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1112, allocations: 0 / 356.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.1113, allocations: 63.91 kB / 356.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.112, allocations: 460.5 kB / 356.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.1122, allocations: 94.48 kB / 356.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1123, allocations: 84.83 kB / 357 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1123, allocations: 4 kB / 357 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.1127, allocations: 206.7 kB / 357.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.1127, allocations: 0 / 357.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007723/0.1135, allocations: 464.1 kB / 357.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.1136, allocations: 166.2 kB / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.1142, allocations: 0.5168 MB / 358.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.1142, allocations: 33.7 kB / 358.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.1143, allocations: 97.12 kB / 358.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.1144, allocations: 31.66 kB / 358.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1145, allocations: 81.41 kB / 358.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1146, allocations: 326.8 kB / 358.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1147, allocations: 55.97 kB / 358.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1148, allocations: 69.69 kB / 359 MB, free: 11.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.1152, allocations: 339.2 kB / 359.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1152, allocations: 4 kB / 359.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004812/0.1157, allocations: 380.2 kB / 359.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.113e-05/0.1157, allocations: 130.8 kB / 359.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1158, allocations: 128 / 359.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1158, allocations: 0 / 359.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.247e-05/0.1158, allocations: 4 kB / 359.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1158, allocations: 4 kB / 359.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.1159, allocations: 11.98 kB / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.116, allocations: 40.05 kB / 359.9 MB, free: 10.88 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.0003096/0.1163, allocations: 370.3 kB / 360.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.1164, allocations: 39.53 kB / 360.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.1165, allocations: 63.16 kB / 360.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1165, allocations: 0 / 360.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1165, allocations: 0 / 360.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1165, allocations: 3.984 kB / 360.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008777/0.1174, allocations: 0.8086 MB / 361.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1174, allocations: 3.984 kB / 361.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-06/0.1174, allocations: 0 / 361.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1174, allocations: 4 kB / 361.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.1175, allocations: 12 kB / 361.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1175, allocations: 0 / 361.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1175, allocations: 3.938 kB / 361.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.1181, allocations: 0.5251 MB / 361.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.1184, allocations: 240.4 kB / 361.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.1185, allocations: 8 kB / 361.9 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.1186, allocations: 11.98 kB / 361.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.1187, allocations: 35.91 kB / 362 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.1188, allocations: 51.84 kB / 362 MB, free: 8.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.1192, allocations: 386.9 kB / 362.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1192, allocations: 0 / 362.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1195, allocations: 47.94 kB / 362.5 MB, free: 8.109 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.0001384/0.1196, allocations: 127.1 kB / 362.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004751/0.1201, allocations: 437.5 kB / 363 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1201, allocations: 4.062 kB / 363 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.1204, allocations: 373.6 kB / 363.4 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.121, allocations: 119 kB / 363.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.122, allocations: 0.6458 MB / 364.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1224, allocations: 0.8022 MB / 364.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.891e-05/0.1225, allocations: 20.58 kB / 365 MB, free: 5.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.1225, allocations: 11.44 kB / 365 MB, free: 5.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1225, allocations: 0 / 365 MB, free: 5.441 MB / 302.1 MB Notification: Performance of Templates: time 0.007165/0.1297, allocations: 4.381 MB / 369.4 MB, free: 1.105 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 gbode -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