Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008775/0.0008777, allocations: 93.62 kB / 292.1 MB, free: 6.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.369e-05, allocations: 4.219 kB / 350.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 51.49 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4529, allocations: 84.05 MB / 486.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.4533, allocations: 69.92 kB / 486.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07135/0.5247, allocations: 39.22 MB / 0.513 GB, free: 248 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5247, allocations: 0 / 0.513 GB, free: 248 kB / 378.7 MB Notification: Performance of Transformations before backend: time 4.753e-05/0.5248, allocations: 20 kB / 0.5131 GB, free: 228 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00182/0.5266, allocations: 1.311 MB / 0.5143 GB, free: 14.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.5267, allocations: 8.031 kB / 0.5144 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.5269, allocations: 138.4 kB / 0.5145 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008817/0.5278, allocations: 0.5172 MB / 0.515 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.5279, allocations: 20 kB / 0.515 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.528, allocations: 28 kB / 0.515 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000942/0.5289, allocations: 0.6105 MB / 0.5156 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.529, allocations: 0 / 0.5156 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.529, allocations: 16 kB / 0.5157 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.529, allocations: 4 kB / 0.5157 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.5297, allocations: 474.6 kB / 0.5161 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.5319, allocations: 1.182 MB / 0.5173 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008095/0.5327, allocations: 0.6898 MB / 0.5179 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/0.5335, allocations: 0.6841 MB / 0.5186 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.5335, allocations: 0 / 0.5186 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008903/0.5344, allocations: 0.7413 MB / 0.5193 GB, free: 9.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.5344, allocations: 0 / 0.5193 GB, free: 9.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.001861/0.5363, allocations: 1.419 MB / 0.5207 GB, free: 8.078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000199/0.5365, allocations: 332.9 kB / 0.521 GB, free: 7.691 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/0.5393, allocations: 1.619 MB / 0.5226 GB, free: 6.059 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.5394, allocations: 45.64 kB / 0.5227 GB, free: 6.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.5397, allocations: 242.4 kB / 0.5229 GB, free: 5.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.5398, allocations: 79.16 kB / 0.523 GB, free: 5.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.5398, allocations: 8 kB / 0.523 GB, free: 5.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.54, allocations: 382.7 kB / 0.5233 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/0.5407, allocations: 455.8 kB / 0.5238 GB, free: 4.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/0.5413, allocations: 458.9 kB / 0.5242 GB, free: 4.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/0.5419, allocations: 0.5834 MB / 0.5248 GB, free: 3.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5419, allocations: 0 / 0.5248 GB, free: 3.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001706/0.5437, allocations: 1.337 MB / 0.5261 GB, free: 2.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000289/0.544, allocations: 297.5 kB / 0.5264 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.544, allocations: 0 / 0.5264 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.544, allocations: 0 / 0.5264 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.756e-05/0.544, allocations: 0 / 0.5264 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.544, allocations: 7.953 kB / 0.5264 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.5445, allocations: 51.75 kB / 0.5264 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.5446, allocations: 123.7 kB / 0.5265 GB, free: 1.867 MB / 394.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: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * 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.0004461/0.5451, allocations: 467.7 kB / 0.527 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.5453, allocations: 130.5 kB / 0.5271 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005916/0.5459, allocations: 244 kB / 0.5273 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.5459, allocations: 8 kB / 0.5274 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5459, allocations: 3.938 kB / 0.5274 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.5459, allocations: 3.953 kB / 0.5274 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/0.5497, allocations: 2.411 MB / 0.5297 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5497, allocations: 0 / 0.5297 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-05/0.5497, allocations: 0 / 0.5297 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5497, allocations: 0 / 0.5297 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/0.5498, allocations: 35.98 kB / 0.5297 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5498, allocations: 4 kB / 0.5298 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.5498, allocations: 3.953 kB / 0.5298 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.5519, allocations: 1.638 MB / 0.5314 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.5531, allocations: 0.6785 MB / 0.532 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.5533, allocations: 55.95 kB / 0.5321 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.5537, allocations: 39.97 kB / 0.5321 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006141/0.5543, allocations: 387.5 kB / 0.5325 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/0.5545, allocations: 135.9 kB / 0.5326 GB, free: 11.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002185/0.5567, allocations: 1.335 MB / 0.5339 GB, free: 10.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5567, allocations: 0 / 0.5339 GB, free: 10.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005251/0.5572, allocations: 144 kB / 0.534 GB, free: 9.906 MB / 410.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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 8 * 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.0002765/0.5575, allocations: 177.7 kB / 0.5342 GB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002285/0.5598, allocations: 1.913 MB / 0.5361 GB, free: 7.715 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5598, allocations: 4 kB / 0.5361 GB, free: 7.711 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.5612, allocations: 1.441 MB / 0.5375 GB, free: 6.172 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.5625, allocations: 302.2 kB / 0.5378 GB, free: 5.887 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.5666, allocations: 2.509 MB / 0.5402 GB, free: 3.344 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.5678, allocations: 1.227 MB / 0.5414 GB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000164/0.568, allocations: 43.84 kB / 0.5415 GB, free: 2.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.568, allocations: 15.44 kB / 0.5415 GB, free: 2.027 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.568, allocations: 3.938 kB / 0.5415 GB, free: 2.023 MB / 410.7 MB Notification: Performance of Templates: time 0.02007/0.5881, allocations: 15.19 MB / 0.5563 GB, free: 2.574 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches