Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008192/0.0008192, allocations: 96.38 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002221/0.0002223, allocations: 8 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1903, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08807/0.2784, allocations: 83.78 MB / 493.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.2786, allocations: 67.97 kB / 493.3 MB, free: 6.766 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2177/0.4964, allocations: 33.66 MB / 0.5146 GB, free: 93.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4964, allocations: 0 / 0.5146 GB, free: 93.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.4965, allocations: 7.438 kB / 0.5146 GB, free: 93.19 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001081/0.4975, allocations: 1.133 MB / 0.5157 GB, free: 92.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.4976, allocations: 6.781 kB / 0.5157 GB, free: 92.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.4977, allocations: 90.02 kB / 0.5158 GB, free: 92.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.4982, allocations: 410.8 kB / 0.5162 GB, free: 91.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.4983, allocations: 25.81 kB / 0.5162 GB, free: 91.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.4983, allocations: 24.88 kB / 0.5162 GB, free: 91.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.499, allocations: 0.5043 MB / 0.5167 GB, free: 91.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.499, allocations: 3.844 kB / 0.5167 GB, free: 91.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.4991, allocations: 14.28 kB / 0.5167 GB, free: 91.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4991, allocations: 3.406 kB / 0.5167 GB, free: 91.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.4995, allocations: 364.3 kB / 0.5171 GB, free: 91.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.5008, allocations: 0.9303 MB / 0.518 GB, free: 90.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.5013, allocations: 0.4992 MB / 0.5185 GB, free: 90.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.5013, allocations: 0 / 0.5185 GB, free: 90.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005948/0.5019, allocations: 0.6338 MB / 0.5191 GB, free: 90.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.502, allocations: 3.938 kB / 0.5191 GB, free: 90.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.00173/0.5037, allocations: 1.744 MB / 0.5208 GB, free: 89.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.5038, allocations: 288.5 kB / 0.5211 GB, free: 88.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.5049, allocations: 1.025 MB / 0.5221 GB, free: 88.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.5049, allocations: 40.45 kB / 0.5221 GB, free: 88.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.505, allocations: 152.3 kB / 0.5223 GB, free: 87.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.5051, allocations: 72.17 kB / 0.5223 GB, free: 87.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.5051, allocations: 11.66 kB / 0.5223 GB, free: 87.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.5052, allocations: 338 kB / 0.5227 GB, free: 87.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.5056, allocations: 345.9 kB / 0.523 GB, free: 87.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.506, allocations: 373.5 kB / 0.5233 GB, free: 87.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.5064, allocations: 0.4896 MB / 0.5238 GB, free: 86.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5064, allocations: 4 kB / 0.5238 GB, free: 86.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001092/0.5075, allocations: 1.108 MB / 0.5249 GB, free: 85.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.5076, allocations: 254.4 kB / 0.5252 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5076, allocations: 0 / 0.5252 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5076, allocations: 3.984 kB / 0.5252 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.036e-05/0.5076, allocations: 4 kB / 0.5252 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5077, allocations: 0 / 0.5252 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.5079, allocations: 47.83 kB / 0.5252 GB, free: 85.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.508, allocations: 128.2 kB / 0.5253 GB, free: 84.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dLATREGL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0005796/0.5086, allocations: 0.7709 MB / 0.5261 GB, free: 84.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.5087, allocations: 83.06 kB / 0.5262 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.5089, allocations: 147.5 kB / 0.5263 GB, free: 83.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5089, allocations: 7.984 kB / 0.5263 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5089, allocations: 0 / 0.5263 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5089, allocations: 0 / 0.5263 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.5107, allocations: 1.955 MB / 0.5282 GB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5108, allocations: 0 / 0.5282 GB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.5108, allocations: 3.844 kB / 0.5282 GB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5108, allocations: 4 kB / 0.5282 GB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.5108, allocations: 31.98 kB / 0.5283 GB, free: 81.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5108, allocations: 0 / 0.5283 GB, free: 81.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.5109, allocations: 3.984 kB / 0.5283 GB, free: 81.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.5122, allocations: 1.369 MB / 0.5296 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006891/0.5129, allocations: 0.562 MB / 0.5301 GB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.513, allocations: 55.97 kB / 0.5302 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.5133, allocations: 31.97 kB / 0.5302 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.5136, allocations: 239.6 kB / 0.5305 GB, free: 79.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.5137, allocations: 135.6 kB / 0.5306 GB, free: 79.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008828/0.5146, allocations: 0.8615 MB / 0.5314 GB, free: 78.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5146, allocations: 0 / 0.5314 GB, free: 78.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.515, allocations: 124 kB / 0.5315 GB, free: 78.34 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.0001826/0.5152, allocations: 190 kB / 0.5317 GB, free: 78.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.5164, allocations: 1.526 MB / 0.5332 GB, free: 76.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5164, allocations: 0 / 0.5332 GB, free: 76.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007218/0.5171, allocations: 1.148 MB / 0.5343 GB, free: 75.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007847/0.5179, allocations: 267 kB / 0.5346 GB, free: 75.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.5201, allocations: 2.138 MB / 0.5367 GB, free: 72.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.5206, allocations: 1.031 MB / 0.5377 GB, free: 71.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.5208, allocations: 44.77 kB / 0.5377 GB, free: 71.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.5208, allocations: 15.44 kB / 0.5377 GB, free: 71.77 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5208, allocations: 0 / 0.5377 GB, free: 71.77 MB / 378.7 MB Notification: Performance of Templates: time 0.01253/0.5333, allocations: 12.66 MB / 0.5501 GB, free: 58.97 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGL/DLATREGL.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches