Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001135, allocations: 179.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 90.56 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 8 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3419, allocations: 47.56 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4568, allocations: 82.04 MB / 457.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.4571, allocations: 67.97 kB / 457.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07662/0.5338, allocations: 26.66 MB / 484.6 MB, free: 3.938 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5339, allocations: 0 / 484.6 MB, free: 3.938 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.088e-05/0.5339, allocations: 12 kB / 484.6 MB, free: 3.926 MB / 362.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.002614/0.5365, allocations: 1.135 MB / 485.7 MB, free: 2.695 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.5366, allocations: 8.031 kB / 485.7 MB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004228/0.5371, allocations: 87 kB / 485.8 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.5383, allocations: 419.5 kB / 486.2 MB, free: 2.148 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.051e-05/0.5384, allocations: 16 kB / 486.2 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.5386, allocations: 31.92 kB / 486.3 MB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.5399, allocations: 0.4929 MB / 486.8 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5399, allocations: 0 / 486.8 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.808e-05/0.54, allocations: 15.94 kB / 486.8 MB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.54, allocations: 4 kB / 486.8 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.5409, allocations: 368.1 kB / 487.1 MB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.5435, allocations: 0.9222 MB / 488.1 MB, free: 256 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.5445, allocations: 0.5025 MB / 488.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.5446, allocations: 4 kB / 488.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.5459, allocations: 0.6383 MB / 489.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 4.318e-06/0.5459, allocations: 0 / 489.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003529/0.5494, allocations: 1.746 MB / 490.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002286/0.5497, allocations: 283.3 kB / 491.2 MB, free: 12.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.5521, allocations: 1.027 MB / 492.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.682e-05/0.5522, allocations: 37.69 kB / 492.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.5523, allocations: 149.9 kB / 492.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.5525, allocations: 75.16 kB / 492.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.5526, allocations: 11.98 kB / 492.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.5528, allocations: 342.8 kB / 492.9 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008102/0.5536, allocations: 343.8 kB / 493.2 MB, free: 10.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008254/0.5545, allocations: 380.6 kB / 493.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008161/0.5553, allocations: 496.8 kB / 494 MB, free: 9.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5553, allocations: 0 / 494 MB, free: 9.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002297/0.5576, allocations: 1.113 MB / 495.2 MB, free: 8.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002539/0.5579, allocations: 247.9 kB / 495.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.5579, allocations: 0 / 495.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.5579, allocations: 4.062 kB / 495.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4e-05/0.558, allocations: 7.938 kB / 495.4 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.558, allocations: 0 / 495.4 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.5585, allocations: 43.81 kB / 495.5 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.5588, allocations: 127.9 kB / 495.6 MB, free: 8.34 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.001417/0.5602, allocations: 0.7646 MB / 496.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.5604, allocations: 83.06 kB / 496.4 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.5607, allocations: 155.5 kB / 496.6 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.5608, allocations: 4 kB / 496.6 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5608, allocations: 0 / 496.6 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5608, allocations: 0 / 496.6 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.5642, allocations: 1.938 MB / 498.5 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.5642, allocations: 3.984 kB / 498.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.5642, allocations: 7.875 kB / 498.5 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.5643, allocations: 4 kB / 498.5 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.5644, allocations: 39.98 kB / 498.6 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.5644, allocations: 0 / 498.6 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5644, allocations: 0 / 498.6 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.5667, allocations: 1.385 MB / 500 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.568, allocations: 0.562 MB / 0.4888 GB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.5683, allocations: 55.95 kB / 0.4888 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.5687, allocations: 39.97 kB / 0.4889 GB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006204/0.5693, allocations: 231.8 kB / 0.4891 GB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/0.5696, allocations: 131.9 kB / 0.4892 GB, free: 2.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001553/0.5711, allocations: 0.8615 MB / 0.4901 GB, free: 1.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5712, allocations: 0 / 0.4901 GB, free: 1.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006459/0.5718, allocations: 120 kB / 0.4902 GB, free: 1.738 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.0003219/0.5721, allocations: 184.4 kB / 0.4904 GB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.2559/0.8281, allocations: 1.523 MB / 0.4918 GB, free: 108.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.8281, allocations: 0 / 0.4918 GB, free: 108.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.8304, allocations: 1.147 MB / 0.493 GB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.832, allocations: 259 kB / 0.4932 GB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.8363, allocations: 2.14 MB / 0.4953 GB, free: 107.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.8374, allocations: 1.031 MB / 0.4963 GB, free: 106.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.8377, allocations: 39.48 kB / 0.4964 GB, free: 106.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.8377, allocations: 15.16 kB / 0.4964 GB, free: 106.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8377, allocations: 7.047 kB / 0.4964 GB, free: 106.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01851/0.8562, allocations: 12.66 MB / 0.5087 GB, free: 102.9 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREG/DLATREG.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches