Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009438/0.000944, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 224.2 MB, free: 9.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 93.17 kB / 272.5 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 12 kB / 329.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2732, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4042, allocations: 82.38 MB / 459.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.4046, allocations: 71.95 kB / 459.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08383/0.4884, allocations: 30.67 MB / 490.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4885, allocations: 0 / 490.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.963e-05/0.4886, allocations: 12 kB / 490.2 MB, free: 15.45 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.00291/0.4915, allocations: 1.508 MB / 491.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4915, allocations: 8.031 kB / 491.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.4919, allocations: 135.3 kB / 491.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.493, allocations: 0.5679 MB / 492.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.4931, allocations: 20.38 kB / 492.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.4932, allocations: 36.36 kB / 492.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.4947, allocations: 0.6196 MB / 493 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4948, allocations: 192 / 493 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/0.4949, allocations: 19.94 kB / 493.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.4949, allocations: 4 kB / 493.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.4959, allocations: 471.7 kB / 493.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.4988, allocations: 1.174 MB / 494.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.5001, allocations: 0.6858 MB / 495.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.5013, allocations: 0.6841 MB / 496.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.5014, allocations: 0 / 496.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/0.5028, allocations: 0.7444 MB / 496.8 MB, free: 8.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.5028, allocations: 0 / 496.8 MB, free: 8.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.003977/0.5068, allocations: 1.879 MB / 498.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000245/0.507, allocations: 329 kB / 499 MB, free: 6.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/0.511, allocations: 1.854 MB / 0.4891 GB, free: 4.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.5111, allocations: 41.7 kB / 0.4892 GB, free: 4.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.5115, allocations: 258.4 kB / 0.4894 GB, free: 4.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.5116, allocations: 75.09 kB / 0.4895 GB, free: 3.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.5117, allocations: 12 kB / 0.4895 GB, free: 3.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.5119, allocations: 382.7 kB / 0.4899 GB, free: 3.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/0.5129, allocations: 439.7 kB / 0.4903 GB, free: 3.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009721/0.5139, allocations: 490.4 kB / 0.4908 GB, free: 2.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.5156, allocations: 1.167 MB / 0.4919 GB, free: 1.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5157, allocations: 0 / 0.4919 GB, free: 1.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.1697/0.6854, allocations: 1.35 MB / 0.4932 GB, free: 105.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002922/0.6857, allocations: 293.1 kB / 0.4935 GB, free: 105.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.6857, allocations: 1.406 kB / 0.4935 GB, free: 105.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.6858, allocations: 3.812 kB / 0.4935 GB, free: 105.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-05/0.6858, allocations: 3.594 kB / 0.4935 GB, free: 105.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6858, allocations: 5.375 kB / 0.4935 GB, free: 105.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.6863, allocations: 50.62 kB / 0.4936 GB, free: 105.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/0.6865, allocations: 127.1 kB / 0.4937 GB, free: 105.6 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: 37 ($PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked 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.001715/0.6883, allocations: 0.9972 MB / 0.4946 GB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.6885, allocations: 137.2 kB / 0.4948 GB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.689, allocations: 246.7 kB / 0.495 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.689, allocations: 1.375 kB / 0.495 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.689, allocations: 3.219 kB / 0.495 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6891, allocations: 0 / 0.495 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.692, allocations: 2.429 MB / 0.4974 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.692, allocations: 0 / 0.4974 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.692, allocations: 2.219 kB / 0.4974 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.692, allocations: 0 / 0.4974 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.126e-05/0.6921, allocations: 39.59 kB / 0.4974 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6921, allocations: 1.469 kB / 0.4974 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6921, allocations: 0 / 0.4974 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.6941, allocations: 1.652 MB / 0.499 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.6953, allocations: 0.6763 MB / 0.4997 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.6955, allocations: 60.58 kB / 0.4998 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.6958, allocations: 48.97 kB / 0.4998 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007177/0.6966, allocations: 378.2 kB / 0.5002 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.6968, allocations: 131.1 kB / 0.5003 GB, free: 103.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001854/0.6986, allocations: 1.348 MB / 0.5016 GB, free: 103.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6986, allocations: 0 / 0.5016 GB, free: 103.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006051/0.6992, allocations: 149.4 kB / 0.5018 GB, free: 103.4 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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * 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.0002493/0.6995, allocations: 189.8 kB / 0.5019 GB, free: 103.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.7012, allocations: 1.923 MB / 0.5038 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7013, allocations: 0 / 0.5038 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009726/0.7022, allocations: 1.435 MB / 0.5052 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.7034, allocations: 307.1 kB / 0.5055 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.7069, allocations: 3.145 MB / 0.5086 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.7076, allocations: 1.202 MB / 0.5098 GB, free: 99.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.7078, allocations: 32.66 kB / 0.5098 GB, free: 99.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.7078, allocations: 17.06 kB / 0.5098 GB, free: 99.31 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.7078, allocations: 0 / 0.5098 GB, free: 99.31 MB / 378.7 MB Notification: Performance of Templates: time 0.01712/0.7249, allocations: 15.29 MB / 0.5247 GB, free: 89.7 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches