Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001002/0.001003, allocations: 184.3 kB / 8.135 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 221.4 MB / 230 MB, free: 3.086 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008651/0.000865, allocations: 95.22 kB / 280.8 MB, free: 1.289 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.811e-06, allocations: 0 / 336.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1798, allocations: 50.4 MB / 386.9 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08397/0.2638, allocations: 82.49 MB / 469.4 MB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.264, allocations: 67.91 kB / 469.5 MB, free: 4.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2036/0.4676, allocations: 38.29 MB / 0.4959 GB, free: 101.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.4677, allocations: 17.95 kB / 0.4959 GB, free: 101.9 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.000907/0.4686, allocations: 1.324 MB / 0.4972 GB, free: 101.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.4686, allocations: 7.469 kB / 0.4972 GB, free: 101.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.4688, allocations: 134.7 kB / 0.4973 GB, free: 101 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.4694, allocations: 0.5236 MB / 0.4978 GB, free: 100.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.4695, allocations: 14.12 kB / 0.4978 GB, free: 100.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.87e-05/0.4695, allocations: 28.72 kB / 0.4978 GB, free: 100.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005109/0.47, allocations: 469.1 kB / 0.4983 GB, free: 100.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.4707, allocations: 0.5984 MB / 0.4989 GB, free: 100.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.4707, allocations: 4 kB / 0.4989 GB, free: 100.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.82e-05/0.4708, allocations: 13.97 kB / 0.4989 GB, free: 100.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4708, allocations: 7.5 kB / 0.4989 GB, free: 100.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.4723, allocations: 1.158 MB / 0.5 GB, free: 100.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.4729, allocations: 0.6901 MB / 0.5007 GB, free: 100.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/0.4735, allocations: 0.6846 MB / 0.5014 GB, free: 100.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.4735, allocations: 3.656 kB / 0.5014 GB, free: 100.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005975/0.4741, allocations: 0.7019 MB / 0.5021 GB, free: 100.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/0.4741, allocations: 4 kB / 0.5021 GB, free: 100.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001063/0.4752, allocations: 0.9502 MB / 0.503 GB, free: 100 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.4753, allocations: 335.3 kB / 0.5033 GB, free: 99.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.477, allocations: 1.566 MB / 0.5048 GB, free: 99.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/0.4771, allocations: 44.28 kB / 0.5049 GB, free: 99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.4772, allocations: 158.8 kB / 0.505 GB, free: 98.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.4773, allocations: 70.83 kB / 0.5051 GB, free: 98.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.4774, allocations: 10.66 kB / 0.5051 GB, free: 98.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4775, allocations: 384.7 kB / 0.5055 GB, free: 98.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.4779, allocations: 460.7 kB / 0.5059 GB, free: 98.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.4784, allocations: 448.7 kB / 0.5064 GB, free: 98.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.4787, allocations: 306.4 kB / 0.5066 GB, free: 98.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4787, allocations: 0 / 0.5066 GB, free: 98.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009725/0.4797, allocations: 0.8911 MB / 0.5075 GB, free: 97.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4797, allocations: 7.812 kB / 0.5075 GB, free: 97.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.4797, allocations: 0 / 0.5075 GB, free: 97.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4798, allocations: 3.938 kB / 0.5075 GB, free: 97.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.013e-05/0.4798, allocations: 0.75 kB / 0.5075 GB, free: 97.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4798, allocations: 7.781 kB / 0.5075 GB, free: 97.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.4802, allocations: 42.66 kB / 0.5076 GB, free: 97.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.4803, allocations: 124.2 kB / 0.5077 GB, free: 97.81 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.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.0002869/0.4806, allocations: 462.8 kB / 0.5081 GB, free: 97.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.4807, allocations: 131.8 kB / 0.5083 GB, free: 97.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/0.4812, allocations: 251 kB / 0.5085 GB, free: 97.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4812, allocations: 5.938 kB / 0.5085 GB, free: 97.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4812, allocations: 3.75 kB / 0.5085 GB, free: 97.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4812, allocations: 0.6562 kB / 0.5085 GB, free: 97.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.4835, allocations: 1.874 MB / 0.5103 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4835, allocations: 0 / 0.5103 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-06/0.4835, allocations: 1.75 kB / 0.5103 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4835, allocations: 0 / 0.5103 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.457e-05/0.4836, allocations: 44.08 kB / 0.5104 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4836, allocations: 1.75 kB / 0.5104 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4836, allocations: 0 / 0.5104 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001201/0.4848, allocations: 1.145 MB / 0.5115 GB, free: 95.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008752/0.4857, allocations: 0.6879 MB / 0.5122 GB, free: 95.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.4859, allocations: 67.06 kB / 0.5122 GB, free: 95.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.4863, allocations: 35.17 kB / 0.5123 GB, free: 95.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004665/0.4867, allocations: 389.8 kB / 0.5126 GB, free: 94.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.4869, allocations: 129.9 kB / 0.5128 GB, free: 94.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001314/0.4882, allocations: 1.283 MB / 0.514 GB, free: 93.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004182/0.4886, allocations: 132 kB / 0.5141 GB, free: 93.58 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: 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.0002036/0.4888, allocations: 183.3 kB / 0.5143 GB, free: 93.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.49, allocations: 1.436 MB / 0.5157 GB, free: 92.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.49, allocations: 0 / 0.5157 GB, free: 92.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008216/0.4909, allocations: 1.222 MB / 0.5169 GB, free: 90.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4919, allocations: 287 kB / 0.5172 GB, free: 90.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.4949, allocations: 2.525 MB / 0.5197 GB, free: 88.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007977/0.4957, allocations: 1.236 MB / 0.5209 GB, free: 87.23 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4957, allocations: 0 / 0.5209 GB, free: 87.23 MB / 378.7 MB Notification: Performance of Templates: time 0.01496/0.5107, allocations: 14.62 MB / 0.5351 GB, free: 72.96 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches