Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.328/1.328, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009136/0.0009134, allocations: 99.8 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002793, allocations: 4 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2575, allocations: 50.41 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3613, allocations: 83.3 MB / 484.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.3616, allocations: 70.56 kB / 484.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3318/0.6935, allocations: 38.98 MB / 0.5116 GB, free: 96.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6935, allocations: 0 / 0.5116 GB, free: 96.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.122e-05/0.6936, allocations: 12.38 kB / 0.5116 GB, free: 96.11 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.001681/0.6953, allocations: 1.524 MB / 0.5131 GB, free: 95.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6953, allocations: 8.844 kB / 0.5131 GB, free: 95.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.6955, allocations: 139.5 kB / 0.5132 GB, free: 94.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007583/0.6963, allocations: 0.5123 MB / 0.5137 GB, free: 94.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.6963, allocations: 25.45 kB / 0.5137 GB, free: 94.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.6964, allocations: 30.39 kB / 0.5138 GB, free: 94.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.6973, allocations: 0.6223 MB / 0.5144 GB, free: 94.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.6973, allocations: 0 / 0.5144 GB, free: 94.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.6974, allocations: 14.48 kB / 0.5144 GB, free: 94.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.6974, allocations: 7.094 kB / 0.5144 GB, free: 94.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.698, allocations: 484 kB / 0.5148 GB, free: 94.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.7, allocations: 1.173 MB / 0.516 GB, free: 94.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.7007, allocations: 0.7002 MB / 0.5167 GB, free: 93.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.7008, allocations: 7 kB / 0.5167 GB, free: 93.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008106/0.7016, allocations: 0.7404 MB / 0.5174 GB, free: 93.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/0.7016, allocations: 0 / 0.5174 GB, free: 93.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002365/0.704, allocations: 2.134 MB / 0.5195 GB, free: 92.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.7041, allocations: 340.2 kB / 0.5198 GB, free: 91.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.7061, allocations: 1.63 MB / 0.5214 GB, free: 90.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.7062, allocations: 47.19 kB / 0.5214 GB, free: 90.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.7064, allocations: 233.5 kB / 0.5217 GB, free: 90.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.7065, allocations: 79.2 kB / 0.5217 GB, free: 90.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.7066, allocations: 14.73 kB / 0.5218 GB, free: 90.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7067, allocations: 384.5 kB / 0.5221 GB, free: 90.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/0.7073, allocations: 451.6 kB / 0.5226 GB, free: 89.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.7078, allocations: 490 kB / 0.523 GB, free: 89.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.7083, allocations: 0.5872 MB / 0.5236 GB, free: 88.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7083, allocations: 0 / 0.5236 GB, free: 88.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001445/0.7098, allocations: 1.354 MB / 0.5249 GB, free: 87.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.7099, allocations: 293.5 kB / 0.5252 GB, free: 86.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.71, allocations: 4 kB / 0.5252 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.71, allocations: 0 / 0.5252 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.89e-05/0.71, allocations: 4.062 kB / 0.5252 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.71, allocations: 6.812 kB / 0.5252 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.7104, allocations: 47.86 kB / 0.5253 GB, free: 86.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.7106, allocations: 128.1 kB / 0.5254 GB, free: 86.76 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.001139/0.7117, allocations: 0.9951 MB / 0.5264 GB, free: 85.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.7119, allocations: 130.5 kB / 0.5265 GB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.7122, allocations: 255.9 kB / 0.5267 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7122, allocations: 3.812 kB / 0.5267 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7122, allocations: 4 kB / 0.5267 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.7123, allocations: 0 / 0.5267 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.715, allocations: 2.418 MB / 0.5291 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.715, allocations: 3.656 kB / 0.5291 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.715, allocations: 4 kB / 0.5291 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.715, allocations: 0 / 0.5291 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.13e-05/0.7151, allocations: 39.97 kB / 0.5291 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7151, allocations: 0 / 0.5291 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7151, allocations: 0 / 0.5291 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.7169, allocations: 1.653 MB / 0.5307 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.718, allocations: 0.6899 MB / 0.5314 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.7182, allocations: 59.97 kB / 0.5315 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.7185, allocations: 39.44 kB / 0.5315 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/0.7191, allocations: 379.6 kB / 0.5319 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/0.7193, allocations: 136.2 kB / 0.532 GB, free: 79.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002152/0.7215, allocations: 1.341 MB / 0.5333 GB, free: 78.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7215, allocations: 0 / 0.5333 GB, free: 78.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006363/0.7221, allocations: 148 kB / 0.5335 GB, free: 78.24 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.0003583/0.7225, allocations: 189.2 kB / 0.5336 GB, free: 78.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.7244, allocations: 1.931 MB / 0.5355 GB, free: 76.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7244, allocations: 0 / 0.5355 GB, free: 76.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.7255, allocations: 1.443 MB / 0.5369 GB, free: 74.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.7267, allocations: 302.1 kB / 0.5372 GB, free: 74.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/0.7313, allocations: 3.157 MB / 0.5403 GB, free: 71.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.7327, allocations: 1.234 MB / 0.5415 GB, free: 69.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000226/0.7329, allocations: 34.83 kB / 0.5415 GB, free: 69.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.733, allocations: 15.44 kB / 0.5416 GB, free: 69.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.733, allocations: 0 / 0.5416 GB, free: 69.7 MB / 378.7 MB Notification: Performance of Templates: time 0.0221/0.7551, allocations: 15.25 MB / 0.5565 GB, free: 54.26 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches