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.001116/0.001116, allocations: 180.2 kB / 16.39 MB, free: 5.766 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.351/1.351, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0009695/0.0009692, allocations: 93.97 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 11.94 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2522, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.3717, allocations: 82.98 MB / 484.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.372, allocations: 71.95 kB / 484.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3072/0.6792, allocations: 33.58 MB / 0.506 GB, free: 99.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6792, allocations: 0 / 0.506 GB, free: 99.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.262e-05/0.6793, allocations: 11.69 kB / 0.506 GB, free: 99.08 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.001096/0.6804, allocations: 1.136 MB / 0.5071 GB, free: 98.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6804, allocations: 8.938 kB / 0.5071 GB, free: 98.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.6806, allocations: 86.91 kB / 0.5072 GB, free: 98.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.6813, allocations: 413.2 kB / 0.5076 GB, free: 98.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/0.6813, allocations: 17.38 kB / 0.5076 GB, free: 98.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.16e-05/0.6814, allocations: 26.97 kB / 0.5076 GB, free: 98.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.6823, allocations: 0.5011 MB / 0.5081 GB, free: 97.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.6824, allocations: 0 / 0.5081 GB, free: 97.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.6824, allocations: 26.48 kB / 0.5081 GB, free: 97.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6824, allocations: 0 / 0.5081 GB, free: 97.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.6829, allocations: 365.3 kB / 0.5085 GB, free: 97.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.6843, allocations: 0.9234 MB / 0.5094 GB, free: 97.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.6849, allocations: 0.5046 MB / 0.5099 GB, free: 97.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.6849, allocations: 0 / 0.5099 GB, free: 97.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006677/0.6856, allocations: 0.6346 MB / 0.5105 GB, free: 97.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.6856, allocations: 1.406 kB / 0.5105 GB, free: 97.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001885/0.6875, allocations: 1.76 MB / 0.5122 GB, free: 96.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.6876, allocations: 285.1 kB / 0.5125 GB, free: 96.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.6887, allocations: 1.018 MB / 0.5135 GB, free: 95.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.6887, allocations: 40.89 kB / 0.5135 GB, free: 95.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.6888, allocations: 147 kB / 0.5137 GB, free: 95.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.02e-05/0.6889, allocations: 75.12 kB / 0.5137 GB, free: 95.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.6889, allocations: 10.91 kB / 0.5137 GB, free: 95.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.689, allocations: 348 kB / 0.5141 GB, free: 95.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.6895, allocations: 349.8 kB / 0.5144 GB, free: 95.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.6899, allocations: 371.8 kB / 0.5148 GB, free: 95.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.6903, allocations: 498.9 kB / 0.5152 GB, free: 94.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.6903, allocations: 3.531 kB / 0.5152 GB, free: 94.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001158/0.6915, allocations: 1.112 MB / 0.5163 GB, free: 94.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.6916, allocations: 247.8 kB / 0.5166 GB, free: 94.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6916, allocations: 3.75 kB / 0.5166 GB, free: 94.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6917, allocations: 3.906 kB / 0.5166 GB, free: 94.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.857e-05/0.6917, allocations: 7.125 kB / 0.5166 GB, free: 94.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.6917, allocations: 3.938 kB / 0.5166 GB, free: 94.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.692, allocations: 39.05 kB / 0.5166 GB, free: 94.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.6921, allocations: 122.7 kB / 0.5167 GB, free: 94.05 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.0006494/0.6928, allocations: 0.7705 MB / 0.5175 GB, free: 93.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.24e-05/0.6929, allocations: 89.31 kB / 0.5176 GB, free: 93.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.6931, allocations: 145.4 kB / 0.5177 GB, free: 93.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6931, allocations: 3.938 kB / 0.5177 GB, free: 93.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6931, allocations: 3.844 kB / 0.5177 GB, free: 93.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.6931, allocations: 3.422 kB / 0.5177 GB, free: 93.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.6951, allocations: 1.942 MB / 0.5196 GB, free: 92.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6951, allocations: 4 kB / 0.5196 GB, free: 92.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-06/0.6951, allocations: 0 / 0.5196 GB, free: 92.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.6951, allocations: 0 / 0.5196 GB, free: 92.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.6952, allocations: 40.56 kB / 0.5197 GB, free: 92.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6952, allocations: 0 / 0.5197 GB, free: 92.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6952, allocations: 0 / 0.5197 GB, free: 92.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.6965, allocations: 1.381 MB / 0.521 GB, free: 91.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/0.6972, allocations: 0.5523 MB / 0.5216 GB, free: 90.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.6974, allocations: 66.78 kB / 0.5216 GB, free: 90.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.6977, allocations: 31.69 kB / 0.5216 GB, free: 90.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/0.698, allocations: 232.1 kB / 0.5219 GB, free: 90.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.6981, allocations: 137.1 kB / 0.522 GB, free: 90.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008319/0.6989, allocations: 0.8506 MB / 0.5228 GB, free: 89.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.6989, allocations: 0 / 0.5228 GB, free: 89.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003979/0.6993, allocations: 123.8 kB / 0.5229 GB, free: 89.33 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.0001943/0.6995, allocations: 191.3 kB / 0.5231 GB, free: 89.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.7007, allocations: 1.534 MB / 0.5246 GB, free: 87.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7008, allocations: 0 / 0.5246 GB, free: 87.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007207/0.7015, allocations: 1.14 MB / 0.5257 GB, free: 86.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.7023, allocations: 265.7 kB / 0.526 GB, free: 86.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.7045, allocations: 2.14 MB / 0.5281 GB, free: 83.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.705, allocations: 1.038 MB / 0.5291 GB, free: 82.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000171/0.7052, allocations: 35.2 kB / 0.5291 GB, free: 82.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.7052, allocations: 15.44 kB / 0.5291 GB, free: 82.78 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7052, allocations: 4 kB / 0.5292 GB, free: 82.77 MB / 378.7 MB Notification: Performance of Templates: time 0.01255/0.7178, allocations: 12.66 MB / 0.5415 GB, free: 70.04 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/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