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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.377/1.377, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0008371/0.0008372, allocations: 82.17 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.716e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.08981, allocations: 50.42 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/0.3773, allocations: 82.56 MB / 470 MB, free: 12.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.3777, allocations: 71.95 kB / 470.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07348/0.4512, allocations: 38.93 MB / 0.4971 GB, free: 5.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4512, allocations: 0 / 0.4971 GB, free: 5.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.775e-05/0.4512, allocations: 16 kB / 0.4971 GB, free: 5.336 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.001244/0.4525, allocations: 1.315 MB / 0.4984 GB, free: 3.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4525, allocations: 12.03 kB / 0.4984 GB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.4527, allocations: 134.4 kB / 0.4985 GB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.4534, allocations: 0.5094 MB / 0.499 GB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.4534, allocations: 27.94 kB / 0.4991 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.4535, allocations: 28 kB / 0.4991 GB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006042/0.4541, allocations: 447.7 kB / 0.4995 GB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007905/0.4549, allocations: 0.5988 MB / 0.5001 GB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4549, allocations: 3.984 kB / 0.5001 GB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/0.455, allocations: 8 kB / 0.5001 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.455, allocations: 7.953 kB / 0.5001 GB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.4567, allocations: 1.122 MB / 0.5012 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.4574, allocations: 0.6703 MB / 0.5019 GB, free: 260 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.4581, allocations: 0.6725 MB / 0.5025 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.4581, allocations: 0 / 0.5025 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008231/0.459, allocations: 0.7407 MB / 0.5032 GB, free: 14.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.459, allocations: 0 / 0.5032 GB, free: 14.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.001514/0.4605, allocations: 1.088 MB / 0.5043 GB, free: 13.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/0.4607, allocations: 329 kB / 0.5046 GB, free: 13.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.4626, allocations: 1.555 MB / 0.5061 GB, free: 11.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.4627, allocations: 45.69 kB / 0.5062 GB, free: 11.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.4629, allocations: 250.3 kB / 0.5064 GB, free: 11.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.463, allocations: 83.14 kB / 0.5065 GB, free: 11.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.4631, allocations: 8 kB / 0.5065 GB, free: 11.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4633, allocations: 386.7 kB / 0.5069 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.4638, allocations: 435.8 kB / 0.5073 GB, free: 10.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.4643, allocations: 432.4 kB / 0.5077 GB, free: 10.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.4647, allocations: 295.8 kB / 0.508 GB, free: 9.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4647, allocations: 3.953 kB / 0.508 GB, free: 9.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001341/0.4661, allocations: 1.024 MB / 0.509 GB, free: 8.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.4663, allocations: 301.5 kB / 0.5093 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4663, allocations: 0 / 0.5093 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4663, allocations: 0 / 0.5093 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.451e-05/0.4663, allocations: 3.938 kB / 0.5093 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4664, allocations: 4 kB / 0.5093 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.4667, allocations: 39.88 kB / 0.5093 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.4668, allocations: 128.2 kB / 0.5094 GB, free: 8.289 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.0003721/0.4672, allocations: 463.7 kB / 0.5099 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.4674, allocations: 134.5 kB / 0.51 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.4677, allocations: 248.3 kB / 0.5102 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4677, allocations: 0 / 0.5102 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4677, allocations: 0 / 0.5102 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4678, allocations: 0 / 0.5102 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.4702, allocations: 2.021 MB / 0.5122 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4702, allocations: 4 kB / 0.5122 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.4702, allocations: 8 kB / 0.5122 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4702, allocations: 0 / 0.5122 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/0.4703, allocations: 35.97 kB / 0.5123 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4703, allocations: 0 / 0.5123 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4703, allocations: 0 / 0.5123 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.4718, allocations: 1.277 MB / 0.5135 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008978/0.4727, allocations: 0.6785 MB / 0.5142 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.4729, allocations: 55.95 kB / 0.5142 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.4733, allocations: 43.88 kB / 0.5143 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008405/0.4741, allocations: 379.6 kB / 0.5146 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002342/0.4744, allocations: 131.9 kB / 0.5148 GB, free: 2.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002661/0.4771, allocations: 1.267 MB / 0.516 GB, free: 1.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4771, allocations: 0 / 0.516 GB, free: 1.418 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008572/0.4779, allocations: 144 kB / 0.5161 GB, free: 1.277 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.0003444/0.4783, allocations: 197.6 kB / 0.5163 GB, free: 1.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003024/0.4813, allocations: 1.87 MB / 0.5181 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4814, allocations: 0 / 0.5181 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.4833, allocations: 1.413 MB / 0.5195 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.4853, allocations: 306.7 kB / 0.5198 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/0.4911, allocations: 2.498 MB / 0.5223 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.4926, allocations: 1.227 MB / 0.5235 GB, free: 9.508 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002344/0.4929, allocations: 37.77 kB / 0.5235 GB, free: 9.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.4929, allocations: 19.44 kB / 0.5235 GB, free: 9.449 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4929, allocations: 0 / 0.5235 GB, free: 9.449 MB / 410.7 MB Notification: Performance of Templates: time 0.02747/0.5204, allocations: 14.76 MB / 0.5379 GB, free: 10.39 MB / 426.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