Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.01032/0.01032, allocations: 182.3 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.058/3.058, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001091/0.001091, allocations: 86.41 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005576/0.0005582, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4488, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5888, allocations: 82.07 MB / 457.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.5893, allocations: 67.97 kB / 457.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07071/0.66, allocations: 26.66 MB / 484.5 MB, free: 3.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.831e-06/0.6601, allocations: 0 / 484.5 MB, free: 3.863 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.72e-05/0.6602, allocations: 8 kB / 484.5 MB, free: 3.855 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.001905/0.6621, allocations: 1.124 MB / 485.6 MB, free: 2.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.6622, allocations: 12.03 kB / 485.7 MB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.6624, allocations: 84 kB / 485.7 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008286/0.6632, allocations: 456 kB / 486.2 MB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/0.6633, allocations: 20.36 kB / 486.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.6634, allocations: 28.38 kB / 486.2 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.6647, allocations: 493.2 kB / 486.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.6647, allocations: 4.172 kB / 486.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.55e-05/0.6648, allocations: 23.92 kB / 486.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.6648, allocations: 0 / 486.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.6656, allocations: 368 kB / 487.1 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.6677, allocations: 0.9222 MB / 488 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.6687, allocations: 0.4986 MB / 488.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008911/0.6696, allocations: 0.4891 MB / 489 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.6696, allocations: 4 kB / 489 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.6708, allocations: 0.6267 MB / 489.6 MB, free: 14.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 4.188e-06/0.6708, allocations: 0 / 489.6 MB, free: 14.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003416/0.6742, allocations: 1.497 MB / 491.1 MB, free: 12.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003005/0.6746, allocations: 291.2 kB / 491.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.6772, allocations: 1.168 MB / 492.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.717e-05/0.6774, allocations: 33.7 kB / 492.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.6776, allocations: 146 kB / 492.8 MB, free: 11.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.6777, allocations: 75.08 kB / 492.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.6778, allocations: 8 kB / 492.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.678, allocations: 338.8 kB / 493.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008027/0.6788, allocations: 343.8 kB / 493.5 MB, free: 10.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008023/0.6796, allocations: 388.5 kB / 493.9 MB, free: 10.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.6812, allocations: 0.9562 MB / 494.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6813, allocations: 0 / 494.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002387/0.6837, allocations: 1.113 MB / 496 MB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002919/0.684, allocations: 251.5 kB / 496.2 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.684, allocations: 7.938 kB / 496.2 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.684, allocations: 8.062 kB / 496.2 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/0.6841, allocations: 7.922 kB / 496.2 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.6841, allocations: 4 kB / 496.2 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.6846, allocations: 35.88 kB / 496.3 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.6848, allocations: 123.9 kB / 496.4 MB, free: 7.41 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.001512/0.6863, allocations: 0.7685 MB / 497.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.6865, allocations: 87.06 kB / 497.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.6869, allocations: 147.5 kB / 497.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6869, allocations: 3.938 kB / 497.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.6869, allocations: 3.984 kB / 497.4 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6869, allocations: 0 / 497.4 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/0.6906, allocations: 1.962 MB / 499.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6907, allocations: 0 / 499.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/0.6907, allocations: 4 kB / 499.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.6907, allocations: 3.938 kB / 499.4 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-05/0.6908, allocations: 35.98 kB / 499.4 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6908, allocations: 0 / 499.4 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6908, allocations: 0 / 499.4 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.6934, allocations: 1.378 MB / 0.489 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.6948, allocations: 0.5619 MB / 0.4896 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.695, allocations: 59.97 kB / 0.4897 GB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.6954, allocations: 43.91 kB / 0.4897 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005966/0.6961, allocations: 239.7 kB / 0.4899 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002324/0.6963, allocations: 127.9 kB / 0.49 GB, free: 1.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001824/0.6981, allocations: 0.8499 MB / 0.4909 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6981, allocations: 0 / 0.4909 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007047/0.6989, allocations: 124 kB / 0.491 GB, free: 0.793 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.0003456/0.6992, allocations: 180.4 kB / 0.4912 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.2541/0.9533, allocations: 1.529 MB / 0.4927 GB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.9534, allocations: 0 / 0.4927 GB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.9552, allocations: 1.142 MB / 0.4938 GB, free: 107.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.9569, allocations: 260 kB / 0.494 GB, free: 107.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.9616, allocations: 2.217 MB / 0.4962 GB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009566/0.9626, allocations: 1.018 MB / 0.4972 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.9626, allocations: 17.25 kB / 0.4972 GB, free: 106.1 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.9626, allocations: 0 / 0.4972 GB, free: 106.1 MB / 378.7 MB Notification: Performance of Templates: time 0.01579/0.9784, allocations: 7.69 MB / 0.5047 GB, free: 105 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREG --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches