Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008714/0.0008715, allocations: 89.52 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.631e-05, allocations: 7.984 kB / 350.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4525, allocations: 83.99 MB / 486 MB, free: 5.426 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4528, allocations: 63.59 kB / 486.1 MB, free: 5.395 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05613/0.509, allocations: 31.17 MB / 0.5051 GB, free: 8.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.509, allocations: 0 / 0.5051 GB, free: 8.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.064e-05/0.5091, allocations: 15.94 kB / 0.5051 GB, free: 8.32 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.001532/0.5106, allocations: 1.335 MB / 0.5064 GB, free: 6.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.5107, allocations: 8.031 kB / 0.5065 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.5109, allocations: 138.4 kB / 0.5066 GB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/0.5116, allocations: 0.5094 MB / 0.5071 GB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.5117, allocations: 26.05 kB / 0.5071 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.088e-05/0.5118, allocations: 28 kB / 0.5071 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009507/0.5127, allocations: 0.6028 MB / 0.5077 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5127, allocations: 0 / 0.5077 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.5128, allocations: 15.98 kB / 0.5077 GB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5128, allocations: 8 kB / 0.5077 GB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.5135, allocations: 474.5 kB / 0.5082 GB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.5154, allocations: 1.178 MB / 0.5094 GB, free: 3.801 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.5162, allocations: 0.6859 MB / 0.51 GB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007898/0.517, allocations: 0.6764 MB / 0.5107 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.517, allocations: 0 / 0.5107 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009504/0.518, allocations: 0.7491 MB / 0.5114 GB, free: 1.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.734e-06/0.518, allocations: 4 kB / 0.5114 GB, free: 1.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002029/0.52, allocations: 1.418 MB / 0.5128 GB, free: 164 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000251/0.5203, allocations: 325 kB / 0.5131 GB, free: 15.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.5227, allocations: 1.619 MB / 0.5147 GB, free: 14.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.5228, allocations: 45.69 kB / 0.5147 GB, free: 14.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.523, allocations: 242.3 kB / 0.515 GB, free: 13.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.5231, allocations: 71.17 kB / 0.515 GB, free: 13.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.5232, allocations: 15.98 kB / 0.5151 GB, free: 13.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.5234, allocations: 382.7 kB / 0.5154 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.524, allocations: 459.8 kB / 0.5159 GB, free: 12.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.5246, allocations: 456.8 kB / 0.5163 GB, free: 12.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.5252, allocations: 0.5872 MB / 0.5169 GB, free: 11.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5252, allocations: 0 / 0.5169 GB, free: 11.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001726/0.5269, allocations: 1.344 MB / 0.5182 GB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.5272, allocations: 285.5 kB / 0.5184 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5272, allocations: 4 kB / 0.5185 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.5272, allocations: 7.922 kB / 0.5185 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.881e-05/0.5272, allocations: 0 / 0.5185 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5273, allocations: 0 / 0.5185 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.5277, allocations: 51.91 kB / 0.5185 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.5278, allocations: 127.7 kB / 0.5186 GB, free: 9.949 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.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,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,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,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 () * 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.0004051/0.5283, allocations: 463.6 kB / 0.5191 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.5284, allocations: 138.4 kB / 0.5192 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.5289, allocations: 252 kB / 0.5194 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5289, allocations: 4 kB / 0.5194 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5289, allocations: 4 kB / 0.5195 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5289, allocations: 0 / 0.5195 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.532, allocations: 2.399 MB / 0.5218 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.532, allocations: 0 / 0.5218 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.532, allocations: 3.938 kB / 0.5218 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.5321, allocations: 1.781 kB / 0.5218 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/0.5321, allocations: 39.97 kB / 0.5218 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5321, allocations: 0 / 0.5218 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5321, allocations: 4 kB / 0.5218 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.5341, allocations: 1.635 MB / 0.5234 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.5352, allocations: 0.6747 MB / 0.5241 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.5354, allocations: 59.97 kB / 0.5242 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.5358, allocations: 43.88 kB / 0.5242 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005739/0.5363, allocations: 375.6 kB / 0.5246 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.5365, allocations: 139.9 kB / 0.5247 GB, free: 3.477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001876/0.5384, allocations: 1.335 MB / 0.526 GB, free: 2.137 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5384, allocations: 0 / 0.526 GB, free: 2.137 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005207/0.5389, allocations: 144 kB / 0.5261 GB, free: 1.996 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,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) * 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.0002628/0.5392, allocations: 185.7 kB / 0.5263 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.5412, allocations: 1.917 MB / 0.5282 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5412, allocations: 0 / 0.5282 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.5425, allocations: 1.433 MB / 0.5296 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5438, allocations: 307.5 kB / 0.5299 GB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.5478, allocations: 2.521 MB / 0.5323 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009955/0.5488, allocations: 1.227 MB / 0.5335 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.5489, allocations: 40.23 kB / 0.5336 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.549, allocations: 15.44 kB / 0.5336 GB, free: 10.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.549, allocations: 0 / 0.5336 GB, free: 10.11 MB / 410.7 MB Notification: Performance of Templates: time 0.0217/0.5707, allocations: 15.2 MB / 0.5484 GB, free: 10.66 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches