Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00167/0.00167, allocations: 180 kB / 17.01 MB, free: 5.125 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.799/1.799, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.001543/0.001543, allocations: 96.08 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004103, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3643, allocations: 47.57 MB / 375.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.4825, allocations: 82.08 MB / 457.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006668/0.4833, allocations: 71.95 kB / 458 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1092/0.5925, allocations: 33.24 MB / 491.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5926, allocations: 0 / 491.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.382e-05/0.5926, allocations: 8 kB / 491.2 MB, free: 13.29 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.001323/0.5939, allocations: 1.143 MB / 492.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.594, allocations: 8.031 kB / 492.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.5941, allocations: 87.02 kB / 492.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.5948, allocations: 415.6 kB / 492.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.5948, allocations: 19.98 kB / 492.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.5949, allocations: 24 kB / 492.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008055/0.5957, allocations: 498.2 kB / 493.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.5957, allocations: 0 / 493.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.5958, allocations: 19.97 kB / 493.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.5958, allocations: 3.938 kB / 493.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.5963, allocations: 376 kB / 493.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.5979, allocations: 0.9222 MB / 494.7 MB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.5985, allocations: 0.5064 MB / 495.2 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.5986, allocations: 4 kB / 495.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007992/0.5994, allocations: 0.6305 MB / 495.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.655e-06/0.5994, allocations: 4 kB / 495.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002704/0.6021, allocations: 1.75 MB / 497.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002274/0.6023, allocations: 287.3 kB / 497.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.604, allocations: 1.019 MB / 498.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/0.6041, allocations: 41.69 kB / 498.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.6042, allocations: 141.9 kB / 499.1 MB, free: 5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.6043, allocations: 79.17 kB / 499.1 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.6044, allocations: 8 kB / 499.1 MB, free: 4.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.6045, allocations: 338.8 kB / 499.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/0.6051, allocations: 347.8 kB / 499.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.6057, allocations: 384.5 kB / 0.4885 GB, free: 3.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/0.6062, allocations: 0.4891 MB / 0.4889 GB, free: 3.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6062, allocations: 0 / 0.4889 GB, free: 3.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001597/0.6078, allocations: 1.113 MB / 0.49 GB, free: 2.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002399/0.6081, allocations: 246 kB / 0.4903 GB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6081, allocations: 0 / 0.4903 GB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.6081, allocations: 0 / 0.4903 GB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.738e-05/0.6082, allocations: 12.06 kB / 0.4903 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6082, allocations: 3.984 kB / 0.4903 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.6085, allocations: 43.77 kB / 0.4903 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.6087, allocations: 127.9 kB / 0.4904 GB, free: 1.691 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.001054/0.6098, allocations: 0.7679 MB / 0.4912 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.6099, allocations: 83.06 kB / 0.4913 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.6102, allocations: 151.5 kB / 0.4914 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.6102, allocations: 0 / 0.4914 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6102, allocations: 4 kB / 0.4914 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6102, allocations: 3.984 kB / 0.4914 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2572/0.8674, allocations: 1.94 MB / 0.4933 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.8675, allocations: 0.5 kB / 0.4933 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.8675, allocations: 1.062 kB / 0.4933 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.8676, allocations: 0.625 kB / 0.4933 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.8677, allocations: 36.06 kB / 0.4934 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.8677, allocations: 0.625 kB / 0.4934 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8677, allocations: 0.5312 kB / 0.4934 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.8701, allocations: 1.381 MB / 0.4947 GB, free: 107.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.8715, allocations: 0.5587 MB / 0.4952 GB, free: 107.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.8717, allocations: 57.94 kB / 0.4953 GB, free: 107.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.8721, allocations: 41.7 kB / 0.4953 GB, free: 107.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000472/0.8726, allocations: 232.1 kB / 0.4956 GB, free: 107.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/0.8728, allocations: 128.8 kB / 0.4957 GB, free: 107.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001508/0.8743, allocations: 0.8626 MB / 0.4965 GB, free: 107.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8744, allocations: 0 / 0.4965 GB, free: 107.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005779/0.8749, allocations: 123.1 kB / 0.4966 GB, free: 107.4 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.0003065/0.8753, allocations: 184.5 kB / 0.4968 GB, free: 107.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.8771, allocations: 1.531 MB / 0.4983 GB, free: 106.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8771, allocations: 0 / 0.4983 GB, free: 106.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.8782, allocations: 1.148 MB / 0.4994 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009528/0.8791, allocations: 256.8 kB / 0.4997 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.8824, allocations: 2.13 MB / 0.5018 GB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.8831, allocations: 1.039 MB / 0.5028 GB, free: 104.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.8833, allocations: 37.5 kB / 0.5028 GB, free: 104.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.8833, allocations: 17.94 kB / 0.5028 GB, free: 104.7 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.8834, allocations: 3.906 kB / 0.5028 GB, free: 104.7 MB / 378.7 MB Notification: Performance of Templates: time 0.01619/0.8995, allocations: 12.68 MB / 0.5152 GB, free: 99.43 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Digital.Examples.DLATREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches