Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009498/0.0009498, allocations: 177.1 kB / 8.35 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.257/1.257, allocations: 221.5 MB / 230.3 MB, free: 7.523 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.0009205/0.0009205, allocations: 88.39 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.343e-05/1.351e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.08962, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2961/0.3858, allocations: 82.23 MB / 469.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3861, allocations: 67.97 kB / 469.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06314/0.4492, allocations: 33.57 MB / 0.4915 GB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4493, allocations: 0 / 0.4915 GB, free: 11.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.4493, allocations: 8 kB / 0.4915 GB, free: 11.01 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.0009307/0.4502, allocations: 1.008 MB / 0.4925 GB, free: 9.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4503, allocations: 12.03 kB / 0.4925 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.4504, allocations: 86.97 kB / 0.4926 GB, free: 9.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.4509, allocations: 415.6 kB / 0.493 GB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.451, allocations: 16 kB / 0.493 GB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.451, allocations: 20 kB / 0.493 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004816/0.4515, allocations: 344.1 kB / 0.4934 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006546/0.4522, allocations: 466.3 kB / 0.4938 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4522, allocations: 3.984 kB / 0.4938 GB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.4523, allocations: 11.98 kB / 0.4938 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4523, allocations: 8 kB / 0.4938 GB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.4535, allocations: 0.8911 MB / 0.4947 GB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.4541, allocations: 482.6 kB / 0.4952 GB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.4546, allocations: 488.9 kB / 0.4956 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.4546, allocations: 0 / 0.4956 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006827/0.4553, allocations: 0.6383 MB / 0.4963 GB, free: 5.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.4553, allocations: 0 / 0.4963 GB, free: 5.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.00128/0.4566, allocations: 0.8713 MB / 0.4971 GB, free: 5.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.4567, allocations: 279.3 kB / 0.4974 GB, free: 4.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.458, allocations: 0.98 MB / 0.4983 GB, free: 3.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.4581, allocations: 33.7 kB / 0.4984 GB, free: 3.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4582, allocations: 146.1 kB / 0.4985 GB, free: 3.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.4583, allocations: 75.11 kB / 0.4986 GB, free: 3.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.4583, allocations: 11.94 kB / 0.4986 GB, free: 3.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4585, allocations: 342.8 kB / 0.4989 GB, free: 3.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.4589, allocations: 343.7 kB / 0.4992 GB, free: 2.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.4593, allocations: 327.8 kB / 0.4996 GB, free: 2.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.4596, allocations: 240 kB / 0.4998 GB, free: 2.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4596, allocations: 0 / 0.4998 GB, free: 2.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001198/0.4608, allocations: 0.8209 MB / 0.5006 GB, free: 1.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.461, allocations: 251.8 kB / 0.5008 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.461, allocations: 0 / 0.5008 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.461, allocations: 7.891 kB / 0.5008 GB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.483e-05/0.4611, allocations: 4 kB / 0.5008 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.4611, allocations: 0 / 0.5008 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.4614, allocations: 39.88 kB / 0.5009 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.4615, allocations: 127.9 kB / 0.501 GB, free: 0.9453 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: 36 ($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,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,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,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,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 () * 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.0003413/0.4619, allocations: 410 kB / 0.5014 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.462, allocations: 87 kB / 0.5015 GB, free: 416 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.4623, allocations: 148 kB / 0.5016 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4623, allocations: 0 / 0.5016 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4623, allocations: 11.94 kB / 0.5016 GB, free: 248 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4623, allocations: 4 kB / 0.5016 GB, free: 244 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.4644, allocations: 1.588 MB / 0.5032 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.4644, allocations: 0 / 0.5032 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.4644, allocations: 4 kB / 0.5032 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4644, allocations: 0 / 0.5032 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.4645, allocations: 35.97 kB / 0.5032 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4645, allocations: 7.891 kB / 0.5032 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4645, allocations: 0 / 0.5032 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.4659, allocations: 1.057 MB / 0.5043 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007902/0.4667, allocations: 0.5582 MB / 0.5048 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.4669, allocations: 59.97 kB / 0.5049 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.4672, allocations: 31.97 kB / 0.5049 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/0.4676, allocations: 239.7 kB / 0.5051 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.4677, allocations: 124 kB / 0.5052 GB, free: 12.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001073/0.4688, allocations: 0.8148 MB / 0.506 GB, free: 11.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4688, allocations: 0 / 0.506 GB, free: 11.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004354/0.4693, allocations: 116 kB / 0.5061 GB, free: 11.54 MB / 394.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) * 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.0002677/0.4696, allocations: 189.6 kB / 0.5063 GB, free: 11.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.4712, allocations: 1.48 MB / 0.5078 GB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4712, allocations: 0 / 0.5078 GB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.4723, allocations: 1.121 MB / 0.5089 GB, free: 8.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.4734, allocations: 270.8 kB / 0.5091 GB, free: 8.312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.4757, allocations: 1.684 MB / 0.5108 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.4764, allocations: 1.035 MB / 0.5118 GB, free: 5.539 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.4765, allocations: 29.83 kB / 0.5118 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.4765, allocations: 19.44 kB / 0.5118 GB, free: 5.488 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.4765, allocations: 0 / 0.5118 GB, free: 5.488 MB / 394.7 MB Notification: Performance of Templates: time 0.015/0.4915, allocations: 12.25 MB / 0.5238 GB, free: 9.031 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches