Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_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.001667/0.001667, allocations: 104.5 kB / 18.35 MB, free: 4.645 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.002011/0.002012, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 55.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1054, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003743/0.1092, allocations: 1.504 MB / 330.2 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1115, allocations: 0.8974 MB / 331.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.3e-05/0.1116, allocations: 0 / 331.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.1118, allocations: 11.92 kB / 331.1 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.1119, allocations: 15.8 kB / 331.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1122, allocations: 47.89 kB / 331.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.1124, allocations: 155.7 kB / 331.4 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1125, allocations: 19.98 kB / 331.4 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004725/0.113, allocations: 379.3 kB / 331.8 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1132, allocations: 59.77 kB / 331.8 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.1132, allocations: 8 kB / 331.8 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.959e-05/0.1133, allocations: 15.94 kB / 331.8 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1134, allocations: 67.64 kB / 331.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1135, allocations: 115.2 kB / 332 MB, free: 464 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.1139, allocations: 362.7 kB / 332.4 MB, free: 100 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1139, allocations: 0 / 332.4 MB, free: 100 kB / 270.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1139, allocations: 0 / 332.4 MB, free: 100 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1139, allocations: 0 / 332.4 MB, free: 100 kB / 270.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.0009674/0.1149, allocations: 0.7227 MB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.115, allocations: 8.031 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.115, allocations: 40.47 kB / 333.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.1154, allocations: 278.3 kB / 333.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.1154, allocations: 8.375 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.1155, allocations: 12.38 kB / 333.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.1158, allocations: 121.9 kB / 333.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1158, allocations: 0 / 333.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.1159, allocations: 7.984 kB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1159, allocations: 0 / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.116, allocations: 59.91 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.117, allocations: 452.6 kB / 334.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.1173, allocations: 94.55 kB / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.1175, allocations: 84.83 kB / 334.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.1175, allocations: 3.984 kB / 334.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.1181, allocations: 202.6 kB / 334.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.1181, allocations: 0 / 334.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009061/0.119, allocations: 464.1 kB / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.1192, allocations: 174.2 kB / 335.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.1199, allocations: 0.5167 MB / 335.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1199, allocations: 33.7 kB / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.12, allocations: 97.97 kB / 335.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.12, allocations: 27.66 kB / 335.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1202, allocations: 81.41 kB / 335.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1204, allocations: 326.8 kB / 336.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.1205, allocations: 55.97 kB / 336.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.1208, allocations: 73.75 kB / 336.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.1213, allocations: 343.6 kB / 336.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1213, allocations: 0 / 336.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000779/0.1221, allocations: 380.2 kB / 337 MB, free: 11.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.1223, allocations: 126.8 kB / 337.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1223, allocations: 3.938 kB / 337.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1223, allocations: 112 / 337.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.395e-05/0.1224, allocations: 7.969 kB / 337.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1224, allocations: 4 kB / 337.1 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.1226, allocations: 15.92 kB / 337.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.1227, allocations: 36 kB / 337.2 MB, free: 10.89 MB / 286.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.0005361/0.1232, allocations: 366.2 kB / 337.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.1233, allocations: 35.62 kB / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.1235, allocations: 67.14 kB / 337.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1235, allocations: 0 / 337.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1235, allocations: 0 / 337.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1236, allocations: 4 kB / 337.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.1252, allocations: 0.8211 MB / 338.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1252, allocations: 0 / 338.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-06/0.1252, allocations: 0 / 338.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1252, allocations: 0 / 338.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.1253, allocations: 8 kB / 338.4 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.1253, allocations: 7.984 kB / 338.4 MB, free: 9.469 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1253, allocations: 3.938 kB / 338.5 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.1265, allocations: 0.5175 MB / 339 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/0.1271, allocations: 244.3 kB / 339.2 MB, free: 8.648 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.1272, allocations: 11.98 kB / 339.2 MB, free: 8.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.1274, allocations: 8 kB / 339.2 MB, free: 8.629 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.1276, allocations: 35.84 kB / 339.3 MB, free: 8.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.276e-05/0.1277, allocations: 40.12 kB / 339.3 MB, free: 8.555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007723/0.1285, allocations: 390.9 kB / 339.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1285, allocations: 0 / 339.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005319/0.1291, allocations: 44 kB / 339.7 MB, free: 8.129 MB / 286.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.0002136/0.1293, allocations: 127 kB / 339.9 MB, free: 7.996 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008355/0.1302, allocations: 429.5 kB / 340.3 MB, free: 7.527 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1302, allocations: 0 / 340.3 MB, free: 7.527 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005419/0.1307, allocations: 381.5 kB / 340.6 MB, free: 7.105 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.1318, allocations: 114 kB / 340.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.1337, allocations: 0.6499 MB / 341.4 MB, free: 6.316 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.1344, allocations: 0.8022 MB / 342.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.458e-05/0.1345, allocations: 8.656 kB / 342.2 MB, free: 5.473 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.1346, allocations: 11.44 kB / 342.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1346, allocations: 0 / 342.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of Templates: time 0.0119/0.1465, allocations: 4.386 MB / 346.6 MB, free: 1.082 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches