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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000808/0.0008081, allocations: 86.72 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.722e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08603, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2985/0.3846, allocations: 81.38 MB / 444.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.3848, allocations: 70.83 kB / 444.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05638/0.4412, allocations: 26.82 MB / 471.3 MB, free: 8.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4413, allocations: 0 / 471.3 MB, free: 8.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4413, allocations: 4 kB / 471.4 MB, free: 8.625 MB / 346.7 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.0007606/0.4421, allocations: 0.6178 MB / 472 MB, free: 7.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4421, allocations: 8.031 kB / 472 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.4422, allocations: 39.56 kB / 472 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.4427, allocations: 250.3 kB / 472.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.4427, allocations: 4 kB / 472.3 MB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.4428, allocations: 8 kB / 472.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001858/0.443, allocations: 61.97 kB / 472.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.4433, allocations: 142.5 kB / 472.5 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4433, allocations: 3.938 kB / 472.5 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.4433, allocations: 4 kB / 472.5 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4434, allocations: 0 / 472.5 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/0.4443, allocations: 447.1 kB / 472.9 MB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.4445, allocations: 100.2 kB / 473 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.4446, allocations: 85.72 kB / 473.1 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.4447, allocations: 7.875 kB / 473.1 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.4451, allocations: 224.8 kB / 473.3 MB, free: 6.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 5.16e-06/0.4451, allocations: 3.984 kB / 473.3 MB, free: 6.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006554/0.4458, allocations: 304.2 kB / 473.6 MB, free: 6.398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.4459, allocations: 170 kB / 473.8 MB, free: 6.199 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.4464, allocations: 453.2 kB / 474.2 MB, free: 5.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.4464, allocations: 33.64 kB / 474.3 MB, free: 5.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.4465, allocations: 96.44 kB / 474.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.4465, allocations: 30.66 kB / 474.4 MB, free: 5.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.4466, allocations: 7.984 kB / 474.4 MB, free: 5.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.4467, allocations: 314.7 kB / 474.7 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/0.4468, allocations: 61.84 kB / 474.8 MB, free: 5.312 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.279e-05/0.4469, allocations: 65.05 kB / 474.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.447, allocations: 50.64 kB / 474.9 MB, free: 5.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.447, allocations: 0 / 474.9 MB, free: 5.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004099/0.4474, allocations: 286.7 kB / 475.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.987e-05/0.4475, allocations: 126.3 kB / 475.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4475, allocations: 0 / 475.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4475, allocations: 3.938 kB / 475.3 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.988e-05/0.4475, allocations: 0 / 475.3 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4475, allocations: 4.141 kB / 475.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.4477, allocations: 19.23 kB / 475.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.4478, allocations: 119.8 kB / 475.4 MB, free: 4.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.y,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.448, allocations: 244.9 kB / 475.7 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.4481, allocations: 43.48 kB / 475.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.4482, allocations: 62.28 kB / 475.8 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4482, allocations: 4 kB / 475.8 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4482, allocations: 3.984 kB / 475.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4482, allocations: 0 / 475.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.4495, allocations: 0.6791 MB / 476.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4495, allocations: 0 / 476.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-06/0.4495, allocations: 0 / 476.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4495, allocations: 3.953 kB / 476.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.4496, allocations: 22.61 kB / 476.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4496, allocations: 0 / 476.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4496, allocations: 0 / 476.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.4505, allocations: 423.2 kB / 476.9 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.4509, allocations: 254 kB / 477.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.676e-05/0.451, allocations: 15.89 kB / 477.2 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.4513, allocations: 15.98 kB / 477.2 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.4515, allocations: 31.16 kB / 477.2 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/0.4517, allocations: 119.8 kB / 477.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006573/0.4524, allocations: 377.4 kB / 477.7 MB, free: 2.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.4524, allocations: 3.938 kB / 477.7 MB, free: 2.602 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005388/0.4529, allocations: 40 kB / 477.7 MB, free: 2.562 MB / 346.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002301/0.4532, allocations: 122.8 kB / 477.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006527/0.4538, allocations: 427.9 kB / 478.3 MB, free: 2.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4539, allocations: 0 / 478.3 MB, free: 2.059 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.4543, allocations: 371.4 kB / 478.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.4551, allocations: 102.1 kB / 478.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4564, allocations: 0.5226 MB / 479.3 MB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.457, allocations: 0.8179 MB / 480.1 MB, free: 196 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.492e-05/0.4571, allocations: 12.59 kB / 480.1 MB, free: 184 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.4571, allocations: 7.438 kB / 480.1 MB, free: 176 kB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4571, allocations: 4 kB / 480.1 MB, free: 172 kB / 346.7 MB Notification: Performance of Templates: time 0.01148/0.4686, allocations: 5.456 MB / 485.6 MB, free: 10.64 MB / 362.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches