Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008541/0.000854, allocations: 94.05 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002331/0.0002331, allocations: 8 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2221, allocations: 50.41 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.336, allocations: 83.25 MB / 484.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.3364, allocations: 71.95 kB / 484.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.31/0.6464, allocations: 30.94 MB / 0.5037 GB, free: 95.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6465, allocations: 0 / 0.5037 GB, free: 95.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.056e-05/0.6465, allocations: 14.75 kB / 0.5037 GB, free: 95.62 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.0018/0.6484, allocations: 1.532 MB / 0.5052 GB, free: 94.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.6484, allocations: 9.625 kB / 0.5052 GB, free: 94.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.6486, allocations: 128.8 kB / 0.5053 GB, free: 94.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/0.6495, allocations: 0.5191 MB / 0.5058 GB, free: 94.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.6495, allocations: 22.84 kB / 0.5058 GB, free: 94.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.6496, allocations: 31.92 kB / 0.5059 GB, free: 94.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.6507, allocations: 0.6161 MB / 0.5065 GB, free: 94.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6508, allocations: 0.5312 kB / 0.5065 GB, free: 94.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/0.6508, allocations: 19.06 kB / 0.5065 GB, free: 94.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.6509, allocations: 6.891 kB / 0.5065 GB, free: 94.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.6516, allocations: 484.2 kB / 0.507 GB, free: 94.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.6539, allocations: 1.167 MB / 0.5081 GB, free: 93.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.6547, allocations: 0.7001 MB / 0.5088 GB, free: 93.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.6547, allocations: 0 / 0.5088 GB, free: 93.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007664/0.6555, allocations: 0.7503 MB / 0.5095 GB, free: 93.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/0.6555, allocations: 0 / 0.5095 GB, free: 93.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002331/0.6578, allocations: 2.138 MB / 0.5116 GB, free: 92.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.658, allocations: 331.2 kB / 0.5119 GB, free: 92.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.6599, allocations: 1.63 MB / 0.5135 GB, free: 92.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.854e-05/0.66, allocations: 43.53 kB / 0.5136 GB, free: 92.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.6602, allocations: 249.6 kB / 0.5138 GB, free: 92.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/0.6603, allocations: 70.75 kB / 0.5139 GB, free: 91.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.6603, allocations: 12.53 kB / 0.5139 GB, free: 91.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6604, allocations: 391.3 kB / 0.5142 GB, free: 91.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.6609, allocations: 457.6 kB / 0.5147 GB, free: 91.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.6614, allocations: 482.9 kB / 0.5151 GB, free: 91.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.6619, allocations: 0.5869 MB / 0.5157 GB, free: 90.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6619, allocations: 0 / 0.5157 GB, free: 90.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001417/0.6633, allocations: 1.351 MB / 0.517 GB, free: 90.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.6635, allocations: 295.6 kB / 0.5173 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6635, allocations: 7.906 kB / 0.5173 GB, free: 90.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6635, allocations: 0 / 0.5173 GB, free: 90.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.711e-05/0.6636, allocations: 6.312 kB / 0.5173 GB, free: 90.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6636, allocations: 0 / 0.5173 GB, free: 90.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.6639, allocations: 51.2 kB / 0.5174 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.6641, allocations: 132.7 kB / 0.5175 GB, free: 90.05 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.0009309/0.665, allocations: 0.9928 MB / 0.5185 GB, free: 89.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6652, allocations: 138.4 kB / 0.5186 GB, free: 89.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.6655, allocations: 247.8 kB / 0.5188 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.6655, allocations: 0 / 0.5188 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6655, allocations: 3.938 kB / 0.5188 GB, free: 89.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6655, allocations: 3.281 kB / 0.5189 GB, free: 89.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.668, allocations: 2.42 MB / 0.5212 GB, free: 87.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.668, allocations: 0 / 0.5212 GB, free: 87.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-06/0.6681, allocations: 3.375 kB / 0.5212 GB, free: 87.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6681, allocations: 4 kB / 0.5212 GB, free: 87.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.6681, allocations: 31.45 kB / 0.5213 GB, free: 87.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6681, allocations: 7.281 kB / 0.5213 GB, free: 87.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6682, allocations: 3.516 kB / 0.5213 GB, free: 87.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.6698, allocations: 1.655 MB / 0.5229 GB, free: 86.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009243/0.6707, allocations: 0.6713 MB / 0.5235 GB, free: 86.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.6709, allocations: 55.22 kB / 0.5236 GB, free: 86.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.6712, allocations: 54.53 kB / 0.5236 GB, free: 86.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005025/0.6717, allocations: 379.3 kB / 0.524 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.6719, allocations: 137.5 kB / 0.5241 GB, free: 85.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001612/0.6735, allocations: 1.345 MB / 0.5254 GB, free: 84.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6735, allocations: 0 / 0.5254 GB, free: 84.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005395/0.674, allocations: 148 kB / 0.5256 GB, free: 84.51 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.0002431/0.6743, allocations: 183.9 kB / 0.5258 GB, free: 84.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.6759, allocations: 1.937 MB / 0.5277 GB, free: 82.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6759, allocations: 0 / 0.5277 GB, free: 82.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009504/0.6769, allocations: 1.44 MB / 0.5291 GB, free: 81.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6779, allocations: 304.7 kB / 0.5293 GB, free: 80.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.6814, allocations: 3.146 MB / 0.5324 GB, free: 77.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/0.6822, allocations: 1.231 MB / 0.5336 GB, free: 76.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.6824, allocations: 39.92 kB / 0.5337 GB, free: 76.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.6824, allocations: 15.44 kB / 0.5337 GB, free: 76.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6824, allocations: 3.938 kB / 0.5337 GB, free: 76.76 MB / 378.7 MB Notification: Performance of Templates: time 0.01532/0.6978, allocations: 15.24 MB / 0.5486 GB, free: 61.67 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches