Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001106, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.165/1.165, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008476/0.0008477, allocations: 91.11 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.738e-06/9.848e-06, allocations: 0 / 343.1 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 51.48 MB / 394.6 MB, free: 5.188 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2461/0.3476, allocations: 83.26 MB / 477.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.3478, allocations: 67.86 kB / 477.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05391/0.4018, allocations: 30.4 MB / 0.4964 GB, free: 1.188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.628e-05/0.4018, allocations: 16 kB / 0.4964 GB, free: 1.172 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001228/0.4031, allocations: 1.313 MB / 0.4977 GB, free: 15.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4031, allocations: 8.031 kB / 0.4977 GB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.4033, allocations: 138.3 kB / 0.4979 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007031/0.404, allocations: 0.5246 MB / 0.4984 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.404, allocations: 30.58 kB / 0.4984 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/0.4041, allocations: 24 kB / 0.4984 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000627/0.4048, allocations: 467 kB / 0.4989 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008358/0.4056, allocations: 0.5995 MB / 0.4995 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.4056, allocations: 0 / 0.4995 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.4057, allocations: 12 kB / 0.4995 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4057, allocations: 4.562 kB / 0.4995 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.4075, allocations: 1.157 MB / 0.5006 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007385/0.4083, allocations: 0.6897 MB / 0.5013 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/0.409, allocations: 0.6725 MB / 0.5019 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.409, allocations: 8 kB / 0.5019 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007891/0.4098, allocations: 0.7134 MB / 0.5026 GB, free: 10.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.4098, allocations: 3.938 kB / 0.5026 GB, free: 10.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001261/0.4111, allocations: 0.9441 MB / 0.5036 GB, free: 9.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/0.4113, allocations: 333 kB / 0.5039 GB, free: 9.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.4132, allocations: 1.574 MB / 0.5054 GB, free: 7.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.905e-05/0.4133, allocations: 41.7 kB / 0.5055 GB, free: 7.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4134, allocations: 162.4 kB / 0.5056 GB, free: 7.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/0.4135, allocations: 75.16 kB / 0.5057 GB, free: 7.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.4136, allocations: 12 kB / 0.5057 GB, free: 7.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4137, allocations: 390.6 kB / 0.5061 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/0.4143, allocations: 447.8 kB / 0.5065 GB, free: 6.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.4148, allocations: 454.6 kB / 0.5069 GB, free: 6.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.4152, allocations: 299.7 kB / 0.5072 GB, free: 6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4152, allocations: 0 / 0.5072 GB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001136/0.4164, allocations: 0.9097 MB / 0.5081 GB, free: 5.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4164, allocations: 8 kB / 0.5081 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4164, allocations: 0 / 0.5081 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4164, allocations: 0 / 0.5081 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.46e-05/0.4164, allocations: 4 kB / 0.5081 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4164, allocations: 0 / 0.5081 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.4168, allocations: 39.81 kB / 0.5082 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.417, allocations: 126.7 kB / 0.5083 GB, free: 4.914 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * 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.0003754/0.4173, allocations: 459.7 kB / 0.5087 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.4175, allocations: 134.4 kB / 0.5088 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.4179, allocations: 251.9 kB / 0.5091 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4179, allocations: 0 / 0.5091 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4179, allocations: 0 / 0.5091 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4179, allocations: 7.984 kB / 0.5091 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.4202, allocations: 1.873 MB / 0.5109 GB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4202, allocations: 0 / 0.5109 GB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-06/0.4202, allocations: 4 kB / 0.5109 GB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4202, allocations: 0 / 0.5109 GB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/0.4203, allocations: 31.98 kB / 0.511 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4203, allocations: 0 / 0.511 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4203, allocations: 7.906 kB / 0.511 GB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001322/0.4216, allocations: 1.125 MB / 0.5121 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.4227, allocations: 0.698 MB / 0.5127 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.4229, allocations: 59.95 kB / 0.5128 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.4233, allocations: 51.8 kB / 0.5129 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005831/0.4238, allocations: 387.6 kB / 0.5132 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.424, allocations: 131.9 kB / 0.5133 GB, free: 15.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001576/0.4256, allocations: 1.283 MB / 0.5146 GB, free: 14.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005223/0.4261, allocations: 136 kB / 0.5147 GB, free: 14.16 MB / 394.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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 8 * 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.0002907/0.4264, allocations: 177.6 kB / 0.5149 GB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.4281, allocations: 1.431 MB / 0.5163 GB, free: 12.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4281, allocations: 0 / 0.5163 GB, free: 12.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.4292, allocations: 1.22 MB / 0.5175 GB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4303, allocations: 292.8 kB / 0.5178 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.434, allocations: 2.512 MB / 0.5202 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.4351, allocations: 1.242 MB / 0.5214 GB, free: 7.125 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4351, allocations: 4 kB / 0.5214 GB, free: 7.121 MB / 394.7 MB Notification: Performance of Templates: time 0.0179/0.453, allocations: 14.61 MB / 0.5357 GB, free: 8.25 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches