Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00275/0.00275, allocations: 176.5 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.809/2.809, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001039/0.001039, allocations: 94.36 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005372/0.0005373, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3443, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.491, allocations: 82.1 MB / 457.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.4914, allocations: 67.97 kB / 457.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0837/0.5751, allocations: 33.26 MB / 491.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.5752, allocations: 0 / 491.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.335e-05/0.5752, allocations: 8 kB / 491.2 MB, free: 13.19 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.00197/0.5772, allocations: 1.124 MB / 492.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/0.5773, allocations: 15.97 kB / 492.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.5775, allocations: 84 kB / 492.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/0.5783, allocations: 452 kB / 492.8 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.5784, allocations: 16.38 kB / 492.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.5786, allocations: 28.36 kB / 492.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.5799, allocations: 498.8 kB / 493.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5799, allocations: 192 / 493.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/0.58, allocations: 19.94 kB / 493.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.58, allocations: 3.984 kB / 493.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009037/0.5809, allocations: 364.1 kB / 493.7 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.5834, allocations: 0.9105 MB / 494.6 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.5846, allocations: 0.4986 MB / 495.1 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.5856, allocations: 496.9 kB / 495.6 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.5857, allocations: 3.938 kB / 495.6 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.587, allocations: 0.6344 MB / 496.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 4.649e-06/0.587, allocations: 0 / 496.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003564/0.5906, allocations: 1.505 MB / 497.8 MB, free: 6.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002958/0.5909, allocations: 287.2 kB / 498.1 MB, free: 5.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/0.594, allocations: 1.156 MB / 499.2 MB, free: 4.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.5942, allocations: 41.69 kB / 499.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.5944, allocations: 141.9 kB / 499.4 MB, free: 4.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.5946, allocations: 79.17 kB / 499.5 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.5947, allocations: 15.94 kB / 499.5 MB, free: 4.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.5949, allocations: 338.8 kB / 499.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008719/0.5958, allocations: 335.8 kB / 0.4884 GB, free: 3.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.5967, allocations: 376.6 kB / 0.4888 GB, free: 3.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.5985, allocations: 0.9756 MB / 0.4897 GB, free: 2.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5986, allocations: 0 / 0.4897 GB, free: 2.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002572/0.6012, allocations: 1.113 MB / 0.4908 GB, free: 1.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003282/0.6015, allocations: 247.9 kB / 0.4911 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.6015, allocations: 3.938 kB / 0.4911 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.6016, allocations: 8 kB / 0.4911 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.537e-05/0.6016, allocations: 3.938 kB / 0.4911 GB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.6016, allocations: 3.938 kB / 0.4911 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.6023, allocations: 47.94 kB / 0.4911 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003263/0.6026, allocations: 123.9 kB / 0.4912 GB, free: 0.7461 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.dLATREGL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,$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,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,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 () * 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.3398/0.9424, allocations: 0.7515 MB / 0.492 GB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005739/0.9431, allocations: 85.06 kB / 0.492 GB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008956/0.944, allocations: 147.9 kB / 0.4922 GB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.9441, allocations: 3.188 kB / 0.4922 GB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.9441, allocations: 0.625 kB / 0.4922 GB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.9441, allocations: 1.031 kB / 0.4922 GB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007884/0.952, allocations: 1.963 MB / 0.4941 GB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.9521, allocations: 1.781 kB / 0.4941 GB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.9522, allocations: 1.25 kB / 0.4941 GB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/0.9522, allocations: 0 / 0.4941 GB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.9524, allocations: 35.61 kB / 0.4941 GB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.9524, allocations: 4.641 kB / 0.4942 GB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.9524, allocations: 3.75 kB / 0.4942 GB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/0.9562, allocations: 1.386 MB / 0.4955 GB, free: 107.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/0.958, allocations: 0.555 MB / 0.4961 GB, free: 107.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/0.9584, allocations: 59.66 kB / 0.4961 GB, free: 107.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/0.9592, allocations: 38.44 kB / 0.4961 GB, free: 107.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007572/0.96, allocations: 234.4 kB / 0.4964 GB, free: 107.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/0.9603, allocations: 132.1 kB / 0.4965 GB, free: 107.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002954/0.9633, allocations: 0.8604 MB / 0.4973 GB, free: 107 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.006e-06/0.9633, allocations: 0 / 0.4973 GB, free: 107 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001366/0.9647, allocations: 123.7 kB / 0.4975 GB, free: 107 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,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) * 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.0004882/0.9652, allocations: 185.7 kB / 0.4976 GB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.9682, allocations: 1.521 MB / 0.4991 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.9683, allocations: 3.594 kB / 0.4991 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.9696, allocations: 1.138 MB / 0.5002 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.9714, allocations: 270 kB / 0.5005 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.9763, allocations: 2.213 MB / 0.5026 GB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/0.9776, allocations: 1.024 MB / 0.5036 GB, free: 104.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.9777, allocations: 16.77 kB / 0.5037 GB, free: 104.1 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.9777, allocations: 0 / 0.5037 GB, free: 104.1 MB / 378.7 MB Notification: Performance of Templates: time 0.01525/0.993, allocations: 7.691 MB / 0.5112 GB, free: 102.2 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGL/DLATREGL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DLATREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches