Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 180.5 kB / 17.01 MB, free: 5.125 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.859/1.859, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001108/0.001108, allocations: 88.16 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002846, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3213, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.4381, allocations: 82.4 MB / 458.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.4385, allocations: 71.95 kB / 458.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0786/0.5171, allocations: 38.62 MB / 496.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5171, allocations: 0 / 496.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.495e-05/0.5172, allocations: 20 kB / 496.9 MB, free: 7.543 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.003872/0.5211, allocations: 1.516 MB / 498.4 MB, free: 5.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.5212, allocations: 8.031 kB / 498.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004828/0.5217, allocations: 134.4 kB / 498.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.523, allocations: 0.5132 MB / 499.1 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.655e-05/0.5231, allocations: 23.98 kB / 499.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.5233, allocations: 32 kB / 499.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.5245, allocations: 0.6269 MB / 499.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5246, allocations: 0 / 499.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.739e-05/0.5247, allocations: 19.98 kB / 499.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.5247, allocations: 0 / 499.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008636/0.5255, allocations: 483.6 kB / 0.4885 GB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.5288, allocations: 1.17 MB / 0.4897 GB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.5299, allocations: 0.6975 MB / 0.4904 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.5299, allocations: 0 / 0.4904 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.5309, allocations: 0.7641 MB / 0.4911 GB, free: 1.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 5.34e-06/0.5309, allocations: 3.984 kB / 0.4911 GB, free: 1.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.2777/0.8087, allocations: 2.119 MB / 0.4932 GB, free: 106.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002529/0.809, allocations: 339 kB / 0.4935 GB, free: 105.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/0.8122, allocations: 1.628 MB / 0.4951 GB, free: 105.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.8124, allocations: 45.55 kB / 0.4951 GB, free: 105.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.8126, allocations: 246 kB / 0.4954 GB, free: 105.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.8128, allocations: 74.33 kB / 0.4954 GB, free: 105.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.8128, allocations: 13.66 kB / 0.4955 GB, free: 105.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.813, allocations: 383.7 kB / 0.4958 GB, free: 105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007591/0.8138, allocations: 453.8 kB / 0.4963 GB, free: 105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.8145, allocations: 489.7 kB / 0.4967 GB, free: 105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.8152, allocations: 0.5856 MB / 0.4973 GB, free: 104.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8152, allocations: 0 / 0.4973 GB, free: 104.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002142/0.8173, allocations: 1.355 MB / 0.4986 GB, free: 104.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002969/0.8177, allocations: 296.3 kB / 0.4989 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.8177, allocations: 0.9688 kB / 0.4989 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/0.8177, allocations: 1.219 kB / 0.4989 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.8178, allocations: 10.27 kB / 0.4989 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.8178, allocations: 2.594 kB / 0.4989 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.8183, allocations: 43.05 kB / 0.499 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/0.8185, allocations: 124.6 kB / 0.4991 GB, free: 104.2 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.dLATREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,$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,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,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 () * 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.001657/0.8202, allocations: 0.9857 MB / 0.5 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.8204, allocations: 142.6 kB / 0.5002 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.8208, allocations: 251.4 kB / 0.5004 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.8209, allocations: 3.266 kB / 0.5004 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.108e-06/0.8209, allocations: 1.062 kB / 0.5004 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8209, allocations: 0 / 0.5004 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004022/0.8249, allocations: 2.422 MB / 0.5028 GB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8249, allocations: 0 / 0.5028 GB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.825, allocations: 7.094 kB / 0.5028 GB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.825, allocations: 1.078 kB / 0.5028 GB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.8251, allocations: 36.09 kB / 0.5028 GB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8251, allocations: 0 / 0.5028 GB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8251, allocations: 2.078 kB / 0.5028 GB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.8276, allocations: 1.657 MB / 0.5044 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.8287, allocations: 0.6737 MB / 0.5051 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.8288, allocations: 61.7 kB / 0.5052 GB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.8292, allocations: 48.86 kB / 0.5052 GB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005388/0.8297, allocations: 378.8 kB / 0.5056 GB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.8299, allocations: 134.7 kB / 0.5057 GB, free: 101.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001676/0.8316, allocations: 1.343 MB / 0.507 GB, free: 101 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8316, allocations: 0 / 0.507 GB, free: 101 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004895/0.8321, allocations: 149.6 kB / 0.5071 GB, free: 101 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,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) * 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.0002275/0.8323, allocations: 193.5 kB / 0.5073 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.8341, allocations: 1.932 MB / 0.5092 GB, free: 99.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8341, allocations: 3.844 kB / 0.5092 GB, free: 99.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.8351, allocations: 1.449 MB / 0.5106 GB, free: 98.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.8362, allocations: 300.2 kB / 0.5109 GB, free: 98.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.8403, allocations: 3.15 MB / 0.514 GB, free: 97.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.8414, allocations: 1.225 MB / 0.5152 GB, free: 96.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.8416, allocations: 35.55 kB / 0.5152 GB, free: 96.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.8417, allocations: 16.78 kB / 0.5152 GB, free: 96.3 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.8417, allocations: 0 / 0.5152 GB, free: 96.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01903/0.8607, allocations: 15.25 MB / 0.5301 GB, free: 83.88 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches