Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL") [: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.001647/0.001647, allocations: 195.1 kB / 8.539 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008432/0.0008432, allocations: 84.89 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.861e-06, allocations: 0 / 343.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.0931, allocations: 51.47 MB / 394.6 MB, free: 5.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2477/0.3409, allocations: 83.31 MB / 477.9 MB, free: 9.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.3411, allocations: 73.39 kB / 478 MB, free: 9.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0695/0.4106, allocations: 38.33 MB / 0.5042 GB, free: 9.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.779e-05/0.4107, allocations: 19.94 kB / 0.5042 GB, free: 9.441 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001624/0.4123, allocations: 1.319 MB / 0.5055 GB, free: 8.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4123, allocations: 12.03 kB / 0.5055 GB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.4126, allocations: 130.4 kB / 0.5057 GB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009727/0.4136, allocations: 0.5288 MB / 0.5062 GB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.4136, allocations: 15.98 kB / 0.5062 GB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.4137, allocations: 28 kB / 0.5062 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007249/0.4145, allocations: 467.8 kB / 0.5067 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009634/0.4154, allocations: 0.6034 MB / 0.5073 GB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4155, allocations: 4 kB / 0.5073 GB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-05/0.4155, allocations: 15.98 kB / 0.5073 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4156, allocations: 4 kB / 0.5073 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.4177, allocations: 1.164 MB / 0.5084 GB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/0.4184, allocations: 0.6859 MB / 0.5091 GB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000731/0.4192, allocations: 0.6725 MB / 0.5097 GB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.4192, allocations: 7.984 kB / 0.5098 GB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008254/0.42, allocations: 0.7017 MB / 0.5104 GB, free: 2.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/0.4201, allocations: 4 kB / 0.5104 GB, free: 2.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001386/0.4215, allocations: 0.9558 MB / 0.5114 GB, free: 1.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/0.4217, allocations: 333 kB / 0.5117 GB, free: 1.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.4241, allocations: 1.57 MB / 0.5132 GB, free: 15.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.464e-05/0.4242, allocations: 41.7 kB / 0.5133 GB, free: 15.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.4244, allocations: 166.4 kB / 0.5134 GB, free: 15.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.4246, allocations: 67.17 kB / 0.5135 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.4246, allocations: 15.98 kB / 0.5135 GB, free: 15.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.4249, allocations: 382.7 kB / 0.5139 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.4255, allocations: 451.7 kB / 0.5143 GB, free: 14.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/0.4261, allocations: 458.6 kB / 0.5147 GB, free: 14.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.4266, allocations: 295.8 kB / 0.515 GB, free: 14.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4266, allocations: 0 / 0.515 GB, free: 14.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001389/0.428, allocations: 0.8981 MB / 0.5159 GB, free: 13.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.428, allocations: 4 kB / 0.5159 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.428, allocations: 0 / 0.5159 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4281, allocations: 4 kB / 0.5159 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.4281, allocations: 0 / 0.5159 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4281, allocations: 0 / 0.5159 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.4285, allocations: 47.81 kB / 0.5159 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.4287, allocations: 122.7 kB / 0.5161 GB, free: 12.98 MB / 394.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.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.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.0004117/0.4291, allocations: 455.7 kB / 0.5165 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.4293, allocations: 134.4 kB / 0.5166 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005939/0.4299, allocations: 251.9 kB / 0.5169 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4299, allocations: 4 kB / 0.5169 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4299, allocations: 3.844 kB / 0.5169 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.43, allocations: 3.984 kB / 0.5169 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.4328, allocations: 1.877 MB / 0.5187 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4328, allocations: 0 / 0.5187 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.4328, allocations: 0 / 0.5187 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4328, allocations: 3.906 kB / 0.5187 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-05/0.4329, allocations: 39.98 kB / 0.5188 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4329, allocations: 0 / 0.5188 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4329, allocations: 0 / 0.5188 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001473/0.4344, allocations: 1.144 MB / 0.5199 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/0.4357, allocations: 0.6863 MB / 0.5205 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.436, allocations: 67.95 kB / 0.5206 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.4364, allocations: 39.88 kB / 0.5206 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006079/0.4371, allocations: 387.6 kB / 0.521 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.4372, allocations: 131.9 kB / 0.5211 GB, free: 7.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002189/0.4394, allocations: 1.283 MB / 0.5224 GB, free: 6.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006171/0.4401, allocations: 136 kB / 0.5225 GB, free: 6.219 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,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.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.000294/0.4404, allocations: 173.7 kB / 0.5227 GB, free: 6.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.4421, allocations: 1.442 MB / 0.5241 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.4421, allocations: 4 kB / 0.5241 GB, free: 4.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.4434, allocations: 1.212 MB / 0.5253 GB, free: 3.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.4447, allocations: 287.9 kB / 0.5256 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.4487, allocations: 2.52 MB / 0.528 GB, free: 452 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/0.45, allocations: 1.238 MB / 0.5292 GB, free: 15.18 MB / 410.7 MB Notification: Performance of SimCode: time 5e-07/0.45, allocations: 0 / 0.5292 GB, free: 15.18 MB / 410.7 MB Notification: Performance of Templates: time 0.01961/0.4696, allocations: 14.61 MB / 0.5435 GB, free: 308 kB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches