Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009718/0.0009719, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 227.2 MB / 245 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008154/0.0008154, allocations: 90.97 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002045/0.0002045, allocations: 8 kB / 357.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1964, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.2968, allocations: 83.74 MB / 493.2 MB, free: 6.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.297, allocations: 72.98 kB / 493.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2157/0.5128, allocations: 27.02 MB / 0.508 GB, free: 93.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5128, allocations: 1.375 kB / 0.508 GB, free: 93.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.59e-05/0.5129, allocations: 9.625 kB / 0.5081 GB, free: 93.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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001301/0.5142, allocations: 1.14 MB / 0.5092 GB, free: 92.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5142, allocations: 9.625 kB / 0.5092 GB, free: 92.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.5144, allocations: 86.97 kB / 0.5093 GB, free: 92.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.5151, allocations: 412 kB / 0.5097 GB, free: 92.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.5151, allocations: 17.03 kB / 0.5097 GB, free: 92.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.5152, allocations: 25.78 kB / 0.5097 GB, free: 92.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007587/0.516, allocations: 0.4971 MB / 0.5102 GB, free: 92.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.516, allocations: 0.5 kB / 0.5102 GB, free: 92.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.516, allocations: 19.62 kB / 0.5102 GB, free: 92.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.5161, allocations: 2.125 kB / 0.5102 GB, free: 92.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.5166, allocations: 362.3 kB / 0.5105 GB, free: 92.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.5183, allocations: 0.9267 MB / 0.5115 GB, free: 92.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.519, allocations: 0.5081 MB / 0.512 GB, free: 92.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.519, allocations: 7.312 kB / 0.512 GB, free: 92.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006051/0.5196, allocations: 0.6269 MB / 0.5126 GB, free: 91.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.5196, allocations: 0 / 0.5126 GB, free: 91.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001811/0.5214, allocations: 1.756 MB / 0.5143 GB, free: 91.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.5215, allocations: 283.2 kB / 0.5146 GB, free: 90.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.5227, allocations: 1.029 MB / 0.5156 GB, free: 90.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.5227, allocations: 36.7 kB / 0.5156 GB, free: 90.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.5228, allocations: 143.5 kB / 0.5157 GB, free: 90.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.5229, allocations: 74.67 kB / 0.5158 GB, free: 90.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.5229, allocations: 7.344 kB / 0.5158 GB, free: 90.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.523, allocations: 341 kB / 0.5161 GB, free: 89.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.5234, allocations: 348.4 kB / 0.5165 GB, free: 89.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.5238, allocations: 376.8 kB / 0.5168 GB, free: 89.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.5242, allocations: 0.4895 MB / 0.5173 GB, free: 89.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5242, allocations: 3.938 kB / 0.5173 GB, free: 89.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001149/0.5254, allocations: 1.112 MB / 0.5184 GB, free: 88.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.5255, allocations: 248.5 kB / 0.5186 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5256, allocations: 0 / 0.5186 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5256, allocations: 11.28 kB / 0.5186 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.331e-05/0.5256, allocations: 3.953 kB / 0.5186 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.5256, allocations: 3.938 kB / 0.5186 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.526, allocations: 32.27 kB / 0.5187 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.5261, allocations: 130.8 kB / 0.5188 GB, free: 88.51 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: 36 ($PRE.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked 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.0006436/0.5267, allocations: 0.7629 MB / 0.5196 GB, free: 88.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5269, allocations: 91.84 kB / 0.5196 GB, free: 87.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.5271, allocations: 147.9 kB / 0.5198 GB, free: 87.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5271, allocations: 3.531 kB / 0.5198 GB, free: 87.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5271, allocations: 3.953 kB / 0.5198 GB, free: 87.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5271, allocations: 3.094 kB / 0.5198 GB, free: 87.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.529, allocations: 1.945 MB / 0.5217 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.529, allocations: 3.594 kB / 0.5217 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-06/0.5291, allocations: 3.703 kB / 0.5217 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5291, allocations: 4 kB / 0.5217 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.5291, allocations: 34.64 kB / 0.5217 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5291, allocations: 3.953 kB / 0.5217 GB, free: 86.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5291, allocations: 3.562 kB / 0.5217 GB, free: 86.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.5305, allocations: 1.375 MB / 0.5231 GB, free: 86.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006935/0.5313, allocations: 0.5562 MB / 0.5236 GB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.5314, allocations: 55.25 kB / 0.5237 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.5317, allocations: 44.67 kB / 0.5237 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.532, allocations: 236.2 kB / 0.5239 GB, free: 85.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.5321, allocations: 127.5 kB / 0.5241 GB, free: 85.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008385/0.5329, allocations: 0.8538 MB / 0.5249 GB, free: 84.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5329, allocations: 0 / 0.5249 GB, free: 84.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004034/0.5334, allocations: 120 kB / 0.525 GB, free: 84.46 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * 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.000181/0.5335, allocations: 183.7 kB / 0.5252 GB, free: 84.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.5348, allocations: 1.527 MB / 0.5267 GB, free: 82.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5348, allocations: 0 / 0.5267 GB, free: 82.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.5355, allocations: 1.149 MB / 0.5278 GB, free: 81.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/0.5363, allocations: 265.5 kB / 0.5281 GB, free: 81.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.5386, allocations: 2.143 MB / 0.5301 GB, free: 79.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.5392, allocations: 1.031 MB / 0.5312 GB, free: 77.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.5393, allocations: 41.12 kB / 0.5312 GB, free: 77.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.5394, allocations: 19.44 kB / 0.5312 GB, free: 77.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5394, allocations: 0 / 0.5312 GB, free: 77.93 MB / 378.7 MB Notification: Performance of Templates: time 0.01358/0.553, allocations: 12.66 MB / 0.5436 GB, free: 65.16 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREG/DLATREG.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches