Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 200.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007839/0.0007843, allocations: 93.2 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.436e-05/1.447e-05, allocations: 4 kB / 343.7 MB, free: 8.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08861, allocations: 51.47 MB / 395.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.4832, allocations: 83.05 MB / 478.2 MB, free: 9.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4834, allocations: 67.72 kB / 478.3 MB, free: 9.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07243/0.5559, allocations: 33.61 MB / 0.4999 GB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5559, allocations: 4 kB / 0.4999 GB, free: 14.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.5559, allocations: 12 kB / 0.4999 GB, free: 14.08 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009448/0.5569, allocations: 1.005 MB / 0.5009 GB, free: 12.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5569, allocations: 8.031 kB / 0.5009 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.5571, allocations: 90.92 kB / 0.501 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.5576, allocations: 411.6 kB / 0.5014 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.5576, allocations: 16 kB / 0.5014 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.5577, allocations: 20 kB / 0.5014 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000471/0.5582, allocations: 352.1 kB / 0.5017 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.5588, allocations: 478.2 kB / 0.5022 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.5588, allocations: 0 / 0.5022 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.5589, allocations: 15.97 kB / 0.5022 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5589, allocations: 3.953 kB / 0.5022 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.5601, allocations: 0.8913 MB / 0.5031 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.5607, allocations: 494.6 kB / 0.5036 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.5612, allocations: 476.9 kB / 0.504 GB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.5612, allocations: 0 / 0.504 GB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006793/0.5619, allocations: 0.6266 MB / 0.5046 GB, free: 9.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.5619, allocations: 0 / 0.5046 GB, free: 9.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001243/0.5632, allocations: 0.8819 MB / 0.5055 GB, free: 8.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.5633, allocations: 283.3 kB / 0.5058 GB, free: 7.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.5647, allocations: 0.9801 MB / 0.5067 GB, free: 6.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.5647, allocations: 45.64 kB / 0.5068 GB, free: 6.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.5648, allocations: 141.9 kB / 0.5069 GB, free: 6.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.5649, allocations: 67.27 kB / 0.507 GB, free: 6.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.565, allocations: 12 kB / 0.507 GB, free: 6.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5651, allocations: 342.8 kB / 0.5073 GB, free: 6.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.5655, allocations: 331.8 kB / 0.5076 GB, free: 5.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.5659, allocations: 331.8 kB / 0.5079 GB, free: 5.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.5662, allocations: 235.8 kB / 0.5082 GB, free: 5.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5662, allocations: 4 kB / 0.5082 GB, free: 5.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001127/0.5674, allocations: 0.8341 MB / 0.509 GB, free: 4.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.5675, allocations: 247.8 kB / 0.5092 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5675, allocations: 0 / 0.5092 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5676, allocations: 4 kB / 0.5092 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.166e-05/0.5676, allocations: 4 kB / 0.5092 GB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.5676, allocations: 0 / 0.5092 GB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.5679, allocations: 43.81 kB / 0.5093 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.5681, allocations: 122.9 kB / 0.5094 GB, free: 4.012 MB / 378.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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0007521/0.5688, allocations: 410 kB / 0.5098 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.5691, allocations: 91.02 kB / 0.5099 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.5695, allocations: 144 kB / 0.51 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5696, allocations: 4 kB / 0.51 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5696, allocations: 0 / 0.51 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5696, allocations: 3.984 kB / 0.51 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.5729, allocations: 1.599 MB / 0.5116 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.5729, allocations: 0 / 0.5116 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.5729, allocations: 0 / 0.5116 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.5729, allocations: 0 / 0.5116 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/0.573, allocations: 39.97 kB / 0.5116 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.573, allocations: 0 / 0.5116 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5731, allocations: 0 / 0.5116 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.5753, allocations: 1.053 MB / 0.5126 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.5766, allocations: 0.562 MB / 0.5132 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.5768, allocations: 55.97 kB / 0.5132 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.5774, allocations: 35.97 kB / 0.5133 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005804/0.578, allocations: 235.7 kB / 0.5135 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/0.5782, allocations: 124.5 kB / 0.5136 GB, free: 15.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001588/0.5798, allocations: 0.807 MB / 0.5144 GB, free: 14.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5798, allocations: 7.875 kB / 0.5144 GB, free: 14.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007515/0.5806, allocations: 120 kB / 0.5145 GB, free: 14.61 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.000322/0.5809, allocations: 181.7 kB / 0.5147 GB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.5832, allocations: 1.484 MB / 0.5161 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5832, allocations: 0 / 0.5161 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.5847, allocations: 1.127 MB / 0.5172 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.5864, allocations: 255.8 kB / 0.5175 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.5902, allocations: 1.684 MB / 0.5191 GB, free: 9.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.5913, allocations: 1.046 MB / 0.5202 GB, free: 8.613 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.5915, allocations: 41.8 kB / 0.5202 GB, free: 8.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.5915, allocations: 15.44 kB / 0.5202 GB, free: 8.555 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5915, allocations: 0 / 0.5202 GB, free: 8.555 MB / 394.7 MB Notification: Performance of Templates: time 0.02548/0.617, allocations: 12.24 MB / 0.5322 GB, free: 12.15 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGL/DLATREGL.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches