Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 180.9 kB / 16.38 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.315/1.315, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0008193/0.0008191, allocations: 95.98 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002561/0.0002561, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2686, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09597/0.3646, allocations: 82.94 MB / 484.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.365, allocations: 70 kB / 484.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05018/0.4152, allocations: 26.96 MB / 0.4995 GB, free: 2.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4152, allocations: 3.938 kB / 0.4995 GB, free: 2.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.4152, allocations: 8 kB / 0.4995 GB, free: 2.613 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.001296/0.4165, allocations: 1.135 MB / 0.5006 GB, free: 1.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4166, allocations: 12.03 kB / 0.5006 GB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.4167, allocations: 87.05 kB / 0.5007 GB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/0.4174, allocations: 415.5 kB / 0.5011 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.4174, allocations: 20 kB / 0.5011 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.4175, allocations: 24 kB / 0.5011 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008853/0.4184, allocations: 0.4988 MB / 0.5016 GB, free: 292 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4184, allocations: 0 / 0.5016 GB, free: 292 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/0.4185, allocations: 16 kB / 0.5016 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4185, allocations: 0 / 0.5016 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1993/0.6178, allocations: 362.9 kB / 0.502 GB, free: 96.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.6205, allocations: 0.9287 MB / 0.5029 GB, free: 96.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.6216, allocations: 0.4982 MB / 0.5034 GB, free: 96.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.6216, allocations: 1.562 kB / 0.5034 GB, free: 96.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.6228, allocations: 0.6414 MB / 0.504 GB, free: 96.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.906e-06/0.6229, allocations: 0 / 0.504 GB, free: 96.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003467/0.6263, allocations: 1.753 MB / 0.5057 GB, free: 95.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.6265, allocations: 287.8 kB / 0.506 GB, free: 95.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.6288, allocations: 1.023 MB / 0.507 GB, free: 95.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/0.6288, allocations: 39.27 kB / 0.507 GB, free: 95.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.629, allocations: 150.1 kB / 0.5072 GB, free: 95.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.6291, allocations: 68.92 kB / 0.5072 GB, free: 95.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.6291, allocations: 10.5 kB / 0.5072 GB, free: 95.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.6292, allocations: 345.7 kB / 0.5076 GB, free: 94.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.6298, allocations: 350 kB / 0.5079 GB, free: 94.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006274/0.6305, allocations: 370.8 kB / 0.5082 GB, free: 94.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.6311, allocations: 0.4889 MB / 0.5087 GB, free: 94.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6311, allocations: 0 / 0.5087 GB, free: 94.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001958/0.6331, allocations: 1.11 MB / 0.5098 GB, free: 94.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.6333, allocations: 248.4 kB / 0.51 GB, free: 94.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.6333, allocations: 0 / 0.51 GB, free: 94.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.6333, allocations: 3.75 kB / 0.5101 GB, free: 94.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.296e-05/0.6334, allocations: 7.781 kB / 0.5101 GB, free: 94.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.6334, allocations: 0 / 0.5101 GB, free: 94.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.6339, allocations: 42.19 kB / 0.5101 GB, free: 94.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.6341, allocations: 125.8 kB / 0.5102 GB, free: 94.1 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.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.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.001212/0.6353, allocations: 0.7667 MB / 0.511 GB, free: 93.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.6355, allocations: 88.09 kB / 0.5111 GB, free: 93.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.6358, allocations: 145.7 kB / 0.5112 GB, free: 93.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6359, allocations: 7.594 kB / 0.5112 GB, free: 93.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6359, allocations: 0 / 0.5112 GB, free: 93.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6359, allocations: 2.953 kB / 0.5112 GB, free: 93.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/0.6392, allocations: 1.953 MB / 0.5131 GB, free: 92.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6392, allocations: 0 / 0.5131 GB, free: 92.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.6393, allocations: 3.281 kB / 0.5131 GB, free: 92.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6393, allocations: 7 kB / 0.5131 GB, free: 92.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-05/0.6394, allocations: 33.69 kB / 0.5131 GB, free: 92.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.6394, allocations: 0 / 0.5131 GB, free: 92.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6394, allocations: 0 / 0.5131 GB, free: 92.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.6417, allocations: 1.384 MB / 0.5145 GB, free: 91.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.6428, allocations: 0.5522 MB / 0.515 GB, free: 91.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.643, allocations: 56.94 kB / 0.5151 GB, free: 91.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.6435, allocations: 40.52 kB / 0.5151 GB, free: 91.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004761/0.644, allocations: 231.2 kB / 0.5154 GB, free: 91.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/0.6441, allocations: 133 kB / 0.5155 GB, free: 91.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001381/0.6455, allocations: 0.8608 MB / 0.5163 GB, free: 91.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.81e-07/0.6456, allocations: 0 / 0.5163 GB, free: 91.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006641/0.6462, allocations: 123.4 kB / 0.5164 GB, free: 91.16 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,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.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.0002508/0.6465, allocations: 176.8 kB / 0.5166 GB, free: 91.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.6485, allocations: 1.538 MB / 0.5181 GB, free: 90.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6486, allocations: 0 / 0.5181 GB, free: 90.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.6498, allocations: 1.145 MB / 0.5192 GB, free: 89.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.6511, allocations: 267.9 kB / 0.5195 GB, free: 89.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.6544, allocations: 2.134 MB / 0.5216 GB, free: 87.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/0.6551, allocations: 1.036 MB / 0.5226 GB, free: 86.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.6553, allocations: 36.84 kB / 0.5226 GB, free: 86.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.6553, allocations: 15.44 kB / 0.5226 GB, free: 86.5 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6553, allocations: 0 / 0.5226 GB, free: 86.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01841/0.6738, allocations: 12.66 MB / 0.535 GB, free: 75.13 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREG/DLATREG.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches