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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.5 MB / 230.3 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008667/0.0008666, allocations: 101.4 kB / 281.2 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.383e-05/1.384e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08835, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2937/0.3821, allocations: 82.06 MB / 469.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.3823, allocations: 67.97 kB / 469.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.052/0.4343, allocations: 27.18 MB / 496.8 MB, free: 1.664 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4344, allocations: 192 / 496.8 MB, free: 1.664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4344, allocations: 4 kB / 496.8 MB, free: 1.66 MB / 362.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.0005448/0.435, allocations: 0.6136 MB / 497.4 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.435, allocations: 8.031 kB / 497.4 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.4351, allocations: 47.48 kB / 497.4 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.4354, allocations: 263.6 kB / 497.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.4355, allocations: 4 kB / 497.7 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.4355, allocations: 8 kB / 497.7 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001306/0.4356, allocations: 59.97 kB / 497.8 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4359, allocations: 133.6 kB / 497.9 MB, free: 424 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.4359, allocations: 0 / 497.9 MB, free: 424 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.4359, allocations: 4 kB / 497.9 MB, free: 420 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4359, allocations: 0 / 497.9 MB, free: 420 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.4366, allocations: 473.5 kB / 498.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.4368, allocations: 90.56 kB / 498.4 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.4369, allocations: 84.89 kB / 498.5 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.4369, allocations: 0 / 498.5 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.4372, allocations: 222.7 kB / 498.7 MB, free: 15.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.156e-06/0.4372, allocations: 0 / 498.7 MB, free: 15.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.000532/0.4377, allocations: 317.2 kB / 499.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.4378, allocations: 170.2 kB / 499.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.4383, allocations: 448.8 kB / 499.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.4384, allocations: 29.7 kB / 499.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.4384, allocations: 101.4 kB / 499.8 MB, free: 14.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.4385, allocations: 23.72 kB / 499.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.4385, allocations: 11.94 kB / 499.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4386, allocations: 318.8 kB / 0.4884 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.4387, allocations: 59.98 kB / 0.4885 GB, free: 13.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.4388, allocations: 59.97 kB / 0.4885 GB, free: 13.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.44e-05/0.4389, allocations: 55.83 kB / 0.4886 GB, free: 13.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4389, allocations: 0 / 0.4886 GB, free: 13.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004498/0.4394, allocations: 286 kB / 0.4889 GB, free: 13.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.709e-05/0.4395, allocations: 124.2 kB / 0.489 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4395, allocations: 0 / 0.489 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4395, allocations: 4 kB / 0.489 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.869e-05/0.4395, allocations: 0 / 0.489 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4396, allocations: 7.938 kB / 0.489 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.4397, allocations: 16.06 kB / 0.489 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4398, allocations: 115.9 kB / 0.4891 GB, free: 13.28 MB / 378.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.0001773/0.44, allocations: 245.5 kB / 0.4893 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.4401, allocations: 39.53 kB / 0.4894 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.784e-05/0.4402, allocations: 63.44 kB / 0.4894 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4402, allocations: 4 kB / 0.4894 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4402, allocations: 4 kB / 0.4895 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4402, allocations: 3.953 kB / 0.4895 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007578/0.441, allocations: 0.6706 MB / 0.4901 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.441, allocations: 0 / 0.4901 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-06/0.441, allocations: 0 / 0.4901 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.441, allocations: 0 / 0.4901 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.441, allocations: 23.98 kB / 0.4901 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4411, allocations: 0 / 0.4901 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4411, allocations: 0 / 0.4901 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005207/0.4416, allocations: 442.9 kB / 0.4906 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.4419, allocations: 252.4 kB / 0.4908 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.442, allocations: 11.94 kB / 0.4908 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.4421, allocations: 12 kB / 0.4908 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.4422, allocations: 35.95 kB / 0.4909 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.4423, allocations: 115.8 kB / 0.491 GB, free: 11.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003954/0.4427, allocations: 382.6 kB / 0.4913 GB, free: 10.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4428, allocations: 0 / 0.4913 GB, free: 10.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003013/0.4431, allocations: 44 kB / 0.4914 GB, free: 10.86 MB / 378.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.0001374/0.4432, allocations: 115 kB / 0.4915 GB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.4437, allocations: 437.5 kB / 0.4919 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4437, allocations: 0 / 0.4919 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.444, allocations: 373.7 kB / 0.4923 GB, free: 9.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.4445, allocations: 108.7 kB / 0.4924 GB, free: 9.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008487/0.4454, allocations: 0.5264 MB / 0.4929 GB, free: 9.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.4458, allocations: 0.8062 MB / 0.4937 GB, free: 8.355 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.286e-05/0.4458, allocations: 12.64 kB / 0.4937 GB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.4459, allocations: 7.438 kB / 0.4937 GB, free: 8.336 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4459, allocations: 0 / 0.4937 GB, free: 8.336 MB / 378.7 MB Notification: Performance of Templates: time 0.00748/0.4534, allocations: 5.457 MB / 0.499 GB, free: 2.828 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches