Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 172.5 kB / 17.39 MB, free: 4.188 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.576/1.576, allocations: 223.3 MB / 241.4 MB, free: 11.57 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.0007526/0.0007526, allocations: 105.8 kB / 292.6 MB, free: 10.73 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.000363, allocations: 8 kB / 352.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2381, allocations: 50.4 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3432, allocations: 82.97 MB / 485.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.3435, allocations: 71.95 kB / 485.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05748/0.401, allocations: 26.95 MB / 0.5007 GB, free: 2.406 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.639e-06/0.4011, allocations: 0 / 0.5007 GB, free: 2.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.966e-05/0.4012, allocations: 8 kB / 0.5007 GB, free: 2.398 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.002118/0.4033, allocations: 1.128 MB / 0.5018 GB, free: 1.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.4034, allocations: 16.03 kB / 0.5018 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.4036, allocations: 84 kB / 0.5019 GB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007674/0.4044, allocations: 452 kB / 0.5024 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/0.4045, allocations: 20.36 kB / 0.5024 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.881e-05/0.4046, allocations: 24.38 kB / 0.5024 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.4056, allocations: 0.491 MB / 0.5029 GB, free: 52 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4056, allocations: 192 / 0.5029 GB, free: 52 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.4057, allocations: 15.92 kB / 0.5029 GB, free: 36 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.4057, allocations: 4 kB / 0.5029 GB, free: 32 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2367/0.6424, allocations: 363.7 kB / 0.5032 GB, free: 96.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.6455, allocations: 0.9196 MB / 0.5041 GB, free: 96.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.6466, allocations: 0.5009 MB / 0.5046 GB, free: 96.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009092/0.6476, allocations: 497.4 kB / 0.5051 GB, free: 96.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.6476, allocations: 1.688 kB / 0.5051 GB, free: 96.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.6489, allocations: 0.6338 MB / 0.5057 GB, free: 96.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 4.178e-06/0.6489, allocations: 0.7812 kB / 0.5057 GB, free: 96.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003486/0.6524, allocations: 1.504 MB / 0.5072 GB, free: 95.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/0.6526, allocations: 280.8 kB / 0.5075 GB, free: 95.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.655, allocations: 1.162 MB / 0.5086 GB, free: 95.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.6551, allocations: 42.42 kB / 0.5086 GB, free: 95.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.6553, allocations: 143.4 kB / 0.5088 GB, free: 95.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.6554, allocations: 74.2 kB / 0.5088 GB, free: 95.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.6554, allocations: 10.94 kB / 0.5089 GB, free: 95.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.6556, allocations: 341.6 kB / 0.5092 GB, free: 94.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006448/0.6562, allocations: 351 kB / 0.5095 GB, free: 94.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.6568, allocations: 364.5 kB / 0.5099 GB, free: 94.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.658, allocations: 0.9702 MB / 0.5108 GB, free: 94.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.658, allocations: 1 kB / 0.5108 GB, free: 94.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001797/0.6599, allocations: 1.112 MB / 0.5119 GB, free: 94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.66, allocations: 247.2 kB / 0.5121 GB, free: 93.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6601, allocations: 3.938 kB / 0.5121 GB, free: 93.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.6601, allocations: 7.266 kB / 0.5121 GB, free: 93.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.903e-05/0.6601, allocations: 3.469 kB / 0.5121 GB, free: 93.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6601, allocations: 7.922 kB / 0.5122 GB, free: 93.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.6606, allocations: 40.22 kB / 0.5122 GB, free: 93.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.6608, allocations: 127.5 kB / 0.5123 GB, free: 93.74 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.00106/0.6619, allocations: 0.7684 MB / 0.5131 GB, free: 93.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.6621, allocations: 85.59 kB / 0.5131 GB, free: 93.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.6624, allocations: 145.4 kB / 0.5133 GB, free: 93.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6625, allocations: 2.078 kB / 0.5133 GB, free: 93.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6625, allocations: 3.938 kB / 0.5133 GB, free: 93.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.6625, allocations: 6.688 kB / 0.5133 GB, free: 93.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.6656, allocations: 1.956 MB / 0.5152 GB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6656, allocations: 0 / 0.5152 GB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.6656, allocations: 0 / 0.5152 GB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.6656, allocations: 0 / 0.5152 GB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.539e-05/0.6657, allocations: 45.48 kB / 0.5153 GB, free: 92.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6657, allocations: 3.75 kB / 0.5153 GB, free: 92.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6657, allocations: 1.969 kB / 0.5153 GB, free: 92.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.6678, allocations: 1.378 MB / 0.5166 GB, free: 91.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009426/0.6688, allocations: 0.5526 MB / 0.5171 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.669, allocations: 66.64 kB / 0.5172 GB, free: 91.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.6694, allocations: 36.19 kB / 0.5172 GB, free: 91.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/0.6699, allocations: 239.9 kB / 0.5175 GB, free: 90.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/0.6701, allocations: 133.4 kB / 0.5176 GB, free: 90.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001512/0.6716, allocations: 0.8573 MB / 0.5184 GB, free: 90.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6716, allocations: 0 / 0.5184 GB, free: 90.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006914/0.6723, allocations: 124 kB / 0.5186 GB, free: 90.58 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.0002728/0.6726, allocations: 178.9 kB / 0.5187 GB, free: 90.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.6746, allocations: 1.517 MB / 0.5202 GB, free: 89.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6746, allocations: 0 / 0.5202 GB, free: 89.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.6758, allocations: 1.145 MB / 0.5213 GB, free: 88.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.6772, allocations: 267.5 kB / 0.5216 GB, free: 88.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.6807, allocations: 2.132 MB / 0.5237 GB, free: 86.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009082/0.6817, allocations: 1.017 MB / 0.5247 GB, free: 85.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.6819, allocations: 46.73 kB / 0.5247 GB, free: 85.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.6819, allocations: 19.44 kB / 0.5247 GB, free: 85.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6819, allocations: 0 / 0.5247 GB, free: 85.48 MB / 378.7 MB Notification: Performance of Templates: time 0.02153/0.7035, allocations: 12.71 MB / 0.5371 GB, free: 73.92 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREG/DLATREG.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches