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.001371/0.001372, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008238/0.0008237, allocations: 95.97 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.494e-05/1.517e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09533, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3307/0.4261, allocations: 83.37 MB / 478.5 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000167/0.4263, allocations: 71.55 kB / 478.6 MB, free: 9.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06741/0.4937, allocations: 39 MB / 0.5055 GB, free: 8.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4938, allocations: 0 / 0.5055 GB, free: 8.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.977e-05/0.4938, allocations: 12 kB / 0.5055 GB, free: 8.402 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001323/0.4952, allocations: 1.323 MB / 0.5068 GB, free: 6.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4952, allocations: 8.031 kB / 0.5068 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.4954, allocations: 134.4 kB / 0.5069 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006464/0.496, allocations: 0.5055 MB / 0.5074 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.4961, allocations: 19.98 kB / 0.5074 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.4962, allocations: 24 kB / 0.5075 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006222/0.4968, allocations: 459.7 kB / 0.5079 GB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007652/0.4976, allocations: 0.5782 MB / 0.5085 GB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.4976, allocations: 0 / 0.5085 GB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.4977, allocations: 19.97 kB / 0.5085 GB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4977, allocations: 4 kB / 0.5085 GB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.4993, allocations: 1.133 MB / 0.5096 GB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.5, allocations: 0.6781 MB / 0.5102 GB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006471/0.5006, allocations: 0.6647 MB / 0.5109 GB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.5007, allocations: 3.938 kB / 0.5109 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008154/0.5015, allocations: 0.7407 MB / 0.5116 GB, free: 1.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.5015, allocations: 0 / 0.5116 GB, free: 1.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.00147/0.503, allocations: 1.096 MB / 0.5127 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.5032, allocations: 325 kB / 0.513 GB, free: 396 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.5051, allocations: 1.559 MB / 0.5145 GB, free: 14.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/0.5052, allocations: 45.64 kB / 0.5146 GB, free: 14.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.5054, allocations: 246.3 kB / 0.5148 GB, free: 14.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.678e-05/0.5055, allocations: 75.17 kB / 0.5149 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.5056, allocations: 12 kB / 0.5149 GB, free: 14.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5057, allocations: 378.7 kB / 0.5152 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.5063, allocations: 443.8 kB / 0.5157 GB, free: 13.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.5068, allocations: 438.9 kB / 0.5161 GB, free: 13.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.5071, allocations: 283.8 kB / 0.5164 GB, free: 12.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5072, allocations: 4 kB / 0.5164 GB, free: 12.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001331/0.5085, allocations: 1.019 MB / 0.5174 GB, free: 11.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.5087, allocations: 297.5 kB / 0.5176 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5087, allocations: 0 / 0.5176 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.5087, allocations: 0 / 0.5176 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.924e-05/0.5088, allocations: 7.938 kB / 0.5177 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.5088, allocations: 0 / 0.5177 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.5091, allocations: 47.86 kB / 0.5177 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.5093, allocations: 131.6 kB / 0.5178 GB, free: 11.37 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.0003811/0.5097, allocations: 463.7 kB / 0.5183 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.5098, allocations: 130.5 kB / 0.5184 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.5102, allocations: 248.3 kB / 0.5186 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5103, allocations: 4 kB / 0.5186 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.5103, allocations: 0 / 0.5186 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5103, allocations: 7.984 kB / 0.5186 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.5127, allocations: 2.021 MB / 0.5206 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5128, allocations: 0 / 0.5206 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-06/0.5128, allocations: 0 / 0.5206 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5128, allocations: 0 / 0.5206 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-05/0.5129, allocations: 35.98 kB / 0.5206 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5129, allocations: 0 / 0.5206 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5129, allocations: 0 / 0.5206 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.5144, allocations: 1.289 MB / 0.5219 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000921/0.5154, allocations: 0.6784 MB / 0.5226 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.5155, allocations: 55.97 kB / 0.5226 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.5159, allocations: 39.95 kB / 0.5227 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005453/0.5164, allocations: 375.6 kB / 0.523 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.5166, allocations: 139.9 kB / 0.5231 GB, free: 5.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001761/0.5184, allocations: 1.271 MB / 0.5244 GB, free: 4.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5184, allocations: 3.938 kB / 0.5244 GB, free: 4.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005156/0.5189, allocations: 148 kB / 0.5245 GB, free: 4.344 MB / 394.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.0002929/0.5192, allocations: 181.6 kB / 0.5247 GB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.5211, allocations: 1.87 MB / 0.5265 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5211, allocations: 0 / 0.5265 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.5223, allocations: 1.417 MB / 0.5279 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.5236, allocations: 302.2 kB / 0.5282 GB, free: 392 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.5272, allocations: 2.486 MB / 0.5306 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.5283, allocations: 1.223 MB / 0.5318 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.5284, allocations: 37.81 kB / 0.5319 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.5285, allocations: 15.44 kB / 0.5319 GB, free: 12.56 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5285, allocations: 0 / 0.5319 GB, free: 12.56 MB / 410.7 MB Notification: Performance of Templates: time 0.01988/0.5484, allocations: 14.76 MB / 0.5463 GB, free: 13.53 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