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.000998/0.0009982, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008488/0.0008489, allocations: 94.94 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005858/0.0005859, allocations: 11.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2564, allocations: 50.41 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.3606, allocations: 83 MB / 485.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.3609, allocations: 67.97 kB / 485.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2951/0.656, allocations: 33.59 MB / 0.5072 GB, free: 99.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.656, allocations: 0 / 0.5072 GB, free: 99.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.528e-05/0.6561, allocations: 12.08 kB / 0.5072 GB, free: 99.02 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.002035/0.6581, allocations: 1.127 MB / 0.5083 GB, free: 98.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.6582, allocations: 8.656 kB / 0.5084 GB, free: 98.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.6585, allocations: 92.09 kB / 0.5084 GB, free: 98.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/0.6593, allocations: 453.2 kB / 0.5089 GB, free: 97.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.6594, allocations: 20.94 kB / 0.5089 GB, free: 97.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.6595, allocations: 28.45 kB / 0.5089 GB, free: 97.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/0.6604, allocations: 0.4941 MB / 0.5094 GB, free: 97.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6605, allocations: 192 / 0.5094 GB, free: 97.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.6605, allocations: 21.3 kB / 0.5094 GB, free: 97.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6605, allocations: 3.719 kB / 0.5094 GB, free: 97.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.661, allocations: 360.1 kB / 0.5098 GB, free: 97.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.6628, allocations: 0.9189 MB / 0.5107 GB, free: 97.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007388/0.6636, allocations: 0.4922 MB / 0.5111 GB, free: 97.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006398/0.6642, allocations: 494.6 kB / 0.5116 GB, free: 97.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.6643, allocations: 11.52 kB / 0.5116 GB, free: 97.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008188/0.6651, allocations: 0.6374 MB / 0.5123 GB, free: 97.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.6651, allocations: 3.625 kB / 0.5123 GB, free: 97.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002108/0.6672, allocations: 1.496 MB / 0.5137 GB, free: 96.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.6674, allocations: 290 kB / 0.514 GB, free: 96.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.6689, allocations: 1.153 MB / 0.5151 GB, free: 95.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.669, allocations: 41.08 kB / 0.5152 GB, free: 95.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6691, allocations: 141 kB / 0.5153 GB, free: 95.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/0.6692, allocations: 74.73 kB / 0.5154 GB, free: 95.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.6693, allocations: 11.31 kB / 0.5154 GB, free: 95.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.6694, allocations: 343.4 kB / 0.5157 GB, free: 95.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/0.6698, allocations: 347.1 kB / 0.516 GB, free: 95.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.6702, allocations: 364.6 kB / 0.5164 GB, free: 95.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/0.6711, allocations: 0.9746 MB / 0.5173 GB, free: 94.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6711, allocations: 0 / 0.5173 GB, free: 94.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001412/0.6725, allocations: 1.113 MB / 0.5184 GB, free: 93.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.6727, allocations: 246.2 kB / 0.5187 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6727, allocations: 7.875 kB / 0.5187 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.6727, allocations: 3.75 kB / 0.5187 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.6728, allocations: 11.22 kB / 0.5187 GB, free: 93.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6728, allocations: 0 / 0.5187 GB, free: 93.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.6732, allocations: 46.58 kB / 0.5187 GB, free: 93.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.6734, allocations: 122.3 kB / 0.5188 GB, free: 93.61 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.000974/0.6744, allocations: 0.7667 MB / 0.5196 GB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.6746, allocations: 88.19 kB / 0.5197 GB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.6749, allocations: 156.5 kB / 0.5198 GB, free: 92.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.6749, allocations: 7.875 kB / 0.5198 GB, free: 92.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6749, allocations: 0 / 0.5198 GB, free: 92.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6749, allocations: 0 / 0.5198 GB, free: 92.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.6781, allocations: 1.947 MB / 0.5217 GB, free: 91.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6781, allocations: 0 / 0.5217 GB, free: 91.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.6781, allocations: 3.844 kB / 0.5217 GB, free: 91.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.6782, allocations: 3.938 kB / 0.5217 GB, free: 91.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.609e-05/0.6783, allocations: 33.05 kB / 0.5218 GB, free: 91.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.6783, allocations: 4 kB / 0.5218 GB, free: 91.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.6783, allocations: 0 / 0.5218 GB, free: 91.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.6802, allocations: 1.393 MB / 0.5231 GB, free: 90.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008349/0.6811, allocations: 0.5562 MB / 0.5237 GB, free: 89.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.6812, allocations: 51.97 kB / 0.5237 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.6815, allocations: 40.5 kB / 0.5238 GB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/0.6819, allocations: 235.7 kB / 0.524 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.682, allocations: 132.9 kB / 0.5241 GB, free: 89.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001058/0.6831, allocations: 0.8577 MB / 0.525 GB, free: 88.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6831, allocations: 4 kB / 0.525 GB, free: 88.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.6836, allocations: 124 kB / 0.5251 GB, free: 88.26 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.0002495/0.6838, allocations: 180.1 kB / 0.5252 GB, free: 88.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.6853, allocations: 1.519 MB / 0.5267 GB, free: 86.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6853, allocations: 0 / 0.5267 GB, free: 86.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008241/0.6862, allocations: 1.137 MB / 0.5278 GB, free: 85.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.6873, allocations: 280.7 kB / 0.5281 GB, free: 85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.6901, allocations: 2.142 MB / 0.5302 GB, free: 82.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.6907, allocations: 1.023 MB / 0.5312 GB, free: 81.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.6909, allocations: 29.52 kB / 0.5312 GB, free: 81.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.691, allocations: 15.44 kB / 0.5312 GB, free: 81.73 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.691, allocations: 0 / 0.5312 GB, free: 81.73 MB / 378.7 MB Notification: Performance of Templates: time 0.0173/0.7083, allocations: 12.74 MB / 0.5437 GB, free: 68.92 MB / 378.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/jenkins1/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