Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.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.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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001084, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.597/1.597, allocations: 226.5 MB / 245.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008078/0.0008079, allocations: 102.7 kB / 297.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002261/0.0002262, allocations: 8 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2047, allocations: 51.29 MB / 409.4 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0986/0.3033, allocations: 83.68 MB / 493 MB, free: 7.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.3036, allocations: 67.97 kB / 493.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2505/0.5542, allocations: 27.02 MB / 0.5079 GB, free: 93.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5542, allocations: 2.516 kB / 0.5079 GB, free: 93.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.979e-05/0.5542, allocations: 10.09 kB / 0.508 GB, free: 93.93 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.001255/0.5555, allocations: 1.119 MB / 0.509 GB, free: 93.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.5555, allocations: 12 kB / 0.5091 GB, free: 93.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.5557, allocations: 89.28 kB / 0.5091 GB, free: 93.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.5563, allocations: 453.3 kB / 0.5096 GB, free: 92.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.5563, allocations: 19.78 kB / 0.5096 GB, free: 92.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.5564, allocations: 27.31 kB / 0.5096 GB, free: 92.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.5572, allocations: 498.1 kB / 0.5101 GB, free: 92.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5572, allocations: 0.6875 kB / 0.5101 GB, free: 92.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.5573, allocations: 16.41 kB / 0.5101 GB, free: 92.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5573, allocations: 2.969 kB / 0.5101 GB, free: 92.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.5579, allocations: 361.7 kB / 0.5105 GB, free: 92.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.5596, allocations: 0.9234 MB / 0.5114 GB, free: 92.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.5605, allocations: 0.4956 MB / 0.5118 GB, free: 92.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000807/0.5613, allocations: 0.4916 MB / 0.5123 GB, free: 92.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.5614, allocations: 1.375 kB / 0.5123 GB, free: 92.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008383/0.5622, allocations: 0.6258 MB / 0.5129 GB, free: 92.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 6.032e-06/0.5622, allocations: 112 / 0.5129 GB, free: 92.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002041/0.5643, allocations: 1.5 MB / 0.5144 GB, free: 91.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.5644, allocations: 290 kB / 0.5147 GB, free: 91.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.5659, allocations: 1.155 MB / 0.5158 GB, free: 91.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/0.566, allocations: 41.19 kB / 0.5159 GB, free: 91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.5661, allocations: 151.7 kB / 0.516 GB, free: 90.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.5662, allocations: 72.23 kB / 0.5161 GB, free: 90.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.5662, allocations: 7.688 kB / 0.5161 GB, free: 90.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.5663, allocations: 343.8 kB / 0.5164 GB, free: 90.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.5667, allocations: 336.8 kB / 0.5167 GB, free: 90.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.5672, allocations: 377.9 kB / 0.5171 GB, free: 90.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008064/0.568, allocations: 0.9732 MB / 0.518 GB, free: 89.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.568, allocations: 3.031 kB / 0.518 GB, free: 89.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001299/0.5693, allocations: 1.119 MB / 0.5191 GB, free: 89.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.5695, allocations: 246.8 kB / 0.5194 GB, free: 88.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5695, allocations: 0 / 0.5194 GB, free: 88.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.5695, allocations: 6.812 kB / 0.5194 GB, free: 88.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.856e-05/0.5696, allocations: 6.5 kB / 0.5194 GB, free: 88.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5696, allocations: 3 kB / 0.5194 GB, free: 88.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.57, allocations: 41.11 kB / 0.5194 GB, free: 88.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.5701, allocations: 128.5 kB / 0.5195 GB, free: 88.81 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.0009105/0.5711, allocations: 0.7575 MB / 0.5203 GB, free: 88.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.5712, allocations: 89.25 kB / 0.5204 GB, free: 88.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.5715, allocations: 150.2 kB / 0.5205 GB, free: 88.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5715, allocations: 6.969 kB / 0.5205 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5715, allocations: 0 / 0.5205 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5716, allocations: 3.141 kB / 0.5205 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.5739, allocations: 1.966 MB / 0.5224 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.5739, allocations: 0 / 0.5224 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/0.5739, allocations: 0 / 0.5224 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.574, allocations: 3.938 kB / 0.5224 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.574, allocations: 36.42 kB / 0.5225 GB, free: 87.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.574, allocations: 3.75 kB / 0.5225 GB, free: 87.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.574, allocations: 3.234 kB / 0.5225 GB, free: 87.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.5755, allocations: 1.39 MB / 0.5238 GB, free: 86.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/0.5763, allocations: 0.5494 MB / 0.5244 GB, free: 86.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.5764, allocations: 60.17 kB / 0.5244 GB, free: 86.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.5767, allocations: 41.34 kB / 0.5245 GB, free: 86.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/0.5771, allocations: 226.3 kB / 0.5247 GB, free: 85.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.5772, allocations: 135.2 kB / 0.5248 GB, free: 85.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009463/0.5781, allocations: 0.8517 MB / 0.5256 GB, free: 85.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5782, allocations: 0 / 0.5256 GB, free: 85.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004549/0.5786, allocations: 123.5 kB / 0.5258 GB, free: 84.94 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.0002225/0.5788, allocations: 180.9 kB / 0.5259 GB, free: 84.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.5802, allocations: 1.532 MB / 0.5274 GB, free: 83.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5803, allocations: 0 / 0.5274 GB, free: 83.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000793/0.5811, allocations: 1.135 MB / 0.5285 GB, free: 82.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.5821, allocations: 266.5 kB / 0.5288 GB, free: 81.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.5847, allocations: 2.146 MB / 0.5309 GB, free: 79.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.5853, allocations: 1.019 MB / 0.5319 GB, free: 78.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.5854, allocations: 33.31 kB / 0.5319 GB, free: 78.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.5855, allocations: 19.44 kB / 0.5319 GB, free: 78.6 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5855, allocations: 0 / 0.5319 GB, free: 78.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01372/0.5992, allocations: 12.73 MB / 0.5444 GB, free: 65.78 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREG/DLATREG.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches