Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008967/0.0008968, allocations: 96.08 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.501e-05, allocations: 4 kB / 343.7 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 51.48 MB / 395.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4847, allocations: 82.87 MB / 478 MB, free: 9.859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.485, allocations: 68.16 kB / 478.1 MB, free: 9.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04788/0.5329, allocations: 27.25 MB / 0.4935 GB, free: 4.473 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.533, allocations: 4 kB / 0.4935 GB, free: 4.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.533, allocations: 4 kB / 0.4935 GB, free: 4.465 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.0007061/0.5337, allocations: 0.6163 MB / 0.4941 GB, free: 3.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.5337, allocations: 14 kB / 0.4941 GB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.5338, allocations: 31.62 kB / 0.4942 GB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.5342, allocations: 259 kB / 0.4944 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.5342, allocations: 4 kB / 0.4944 GB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.5342, allocations: 8 kB / 0.4944 GB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001451/0.5344, allocations: 55.16 kB / 0.4945 GB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.5346, allocations: 152.8 kB / 0.4946 GB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.5346, allocations: 3.938 kB / 0.4946 GB, free: 3.293 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.5347, allocations: 4 kB / 0.4946 GB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5347, allocations: 0 / 0.4946 GB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007013/0.5354, allocations: 449.6 kB / 0.4951 GB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.5355, allocations: 103 kB / 0.4951 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.5357, allocations: 90.91 kB / 0.4952 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.5357, allocations: 0 / 0.4952 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.536, allocations: 217.9 kB / 0.4954 GB, free: 2.461 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.536, allocations: 0 / 0.4954 GB, free: 2.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005404/0.5365, allocations: 301.2 kB / 0.4957 GB, free: 2.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.5366, allocations: 170.2 kB / 0.4959 GB, free: 1.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.5372, allocations: 458.2 kB / 0.4963 GB, free: 1.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.5372, allocations: 29.7 kB / 0.4964 GB, free: 1.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.5373, allocations: 105.4 kB / 0.4965 GB, free: 1.363 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.5373, allocations: 26.44 kB / 0.4965 GB, free: 1.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.5373, allocations: 0 / 0.4965 GB, free: 1.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5375, allocations: 322.8 kB / 0.4968 GB, free: 1.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.5376, allocations: 59.98 kB / 0.4968 GB, free: 0.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.403e-05/0.5377, allocations: 55.97 kB / 0.4969 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.5377, allocations: 58.22 kB / 0.497 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5378, allocations: 0 / 0.497 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004256/0.5382, allocations: 293.3 kB / 0.4972 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.5383, allocations: 122.7 kB / 0.4974 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5383, allocations: 0 / 0.4974 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5383, allocations: 0 / 0.4974 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-05/0.5383, allocations: 4 kB / 0.4974 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5383, allocations: 3.984 kB / 0.4974 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.5385, allocations: 8 kB / 0.4974 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.5386, allocations: 123.9 kB / 0.4975 GB, free: 280 kB / 362.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.0002022/0.5388, allocations: 241.5 kB / 0.4977 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-05/0.5389, allocations: 47.47 kB / 0.4978 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.539, allocations: 63.44 kB / 0.4978 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.539, allocations: 0 / 0.4978 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5391, allocations: 0 / 0.4978 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5391, allocations: 0 / 0.4978 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.5399, allocations: 0.6824 MB / 0.4985 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5399, allocations: 4 kB / 0.4985 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-06/0.54, allocations: 3.953 kB / 0.4985 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.54, allocations: 128 / 0.4985 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.54, allocations: 27.98 kB / 0.4985 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.54, allocations: 0 / 0.4985 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.54, allocations: 0 / 0.4985 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.5406, allocations: 427 kB / 0.4989 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.541, allocations: 253.2 kB / 0.4992 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.541, allocations: 15.95 kB / 0.4992 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.5412, allocations: 8 kB / 0.4992 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.5413, allocations: 35.95 kB / 0.4992 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.5415, allocations: 119.8 kB / 0.4993 GB, free: 14.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004158/0.5419, allocations: 374.6 kB / 0.4997 GB, free: 13.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5419, allocations: 0 / 0.4997 GB, free: 13.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.5422, allocations: 48 kB / 0.4997 GB, free: 13.84 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.0001394/0.5424, allocations: 107.2 kB / 0.4998 GB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.5429, allocations: 427.3 kB / 0.5003 GB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5429, allocations: 3.938 kB / 0.5003 GB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.5432, allocations: 377.6 kB / 0.5006 GB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.5438, allocations: 103.3 kB / 0.5007 GB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/0.5447, allocations: 0.5225 MB / 0.5012 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.5451, allocations: 0.8139 MB / 0.502 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.781e-05/0.5452, allocations: 12.64 kB / 0.502 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.5452, allocations: 11.44 kB / 0.502 GB, free: 11.33 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5452, allocations: 0 / 0.502 GB, free: 11.33 MB / 378.7 MB Notification: Performance of Templates: time 0.008494/0.5537, allocations: 5.446 MB / 0.5074 GB, free: 5.852 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches