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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009808/0.0009809, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007585/0.0007586, allocations: 90.11 kB / 286.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.75e-05, allocations: 4 kB / 343.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 51.48 MB / 395.2 MB, free: 4.719 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2906/0.399, allocations: 83.33 MB / 478.5 MB, free: 9.605 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.3992, allocations: 65.73 kB / 478.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05293/0.4522, allocations: 30.98 MB / 0.4976 GB, free: 388 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4523, allocations: 3.938 kB / 0.4976 GB, free: 384 kB / 362.7 MB Notification: Performance of Transformations before backend: time 8.82e-05/0.4524, allocations: 16 kB / 0.4976 GB, free: 368 kB / 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.002244/0.4546, allocations: 1.315 MB / 0.4989 GB, free: 14.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.4547, allocations: 8.031 kB / 0.4989 GB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.4551, allocations: 142.4 kB / 0.499 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/0.4561, allocations: 0.5171 MB / 0.4996 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.4561, allocations: 20 kB / 0.4996 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4562, allocations: 27.94 kB / 0.4996 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006904/0.457, allocations: 451.8 kB / 0.5 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.4578, allocations: 0.5822 MB / 0.5006 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4578, allocations: 0 / 0.5006 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.4579, allocations: 12 kB / 0.5006 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4579, allocations: 7.953 kB / 0.5006 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.4601, allocations: 1.133 MB / 0.5017 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/0.4609, allocations: 0.6703 MB / 0.5024 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/0.4616, allocations: 0.6647 MB / 0.503 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.4616, allocations: 0 / 0.503 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008601/0.4625, allocations: 0.7446 MB / 0.5038 GB, free: 9.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.4625, allocations: 0 / 0.5038 GB, free: 9.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001577/0.4641, allocations: 1.092 MB / 0.5048 GB, free: 8.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.4643, allocations: 329 kB / 0.5051 GB, free: 8.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.4667, allocations: 1.555 MB / 0.5067 GB, free: 6.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/0.4668, allocations: 41.69 kB / 0.5067 GB, free: 6.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.467, allocations: 254.4 kB / 0.5069 GB, free: 6.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4671, allocations: 71.16 kB / 0.507 GB, free: 6.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.4672, allocations: 12 kB / 0.507 GB, free: 6.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4674, allocations: 386.7 kB / 0.5074 GB, free: 6.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.4679, allocations: 439.8 kB / 0.5078 GB, free: 5.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.4685, allocations: 434.9 kB / 0.5082 GB, free: 5.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.4688, allocations: 299.6 kB / 0.5085 GB, free: 4.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4689, allocations: 3.953 kB / 0.5085 GB, free: 4.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001389/0.4702, allocations: 1.023 MB / 0.5095 GB, free: 3.832 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.4705, allocations: 289.5 kB / 0.5098 GB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4705, allocations: 11.94 kB / 0.5098 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4705, allocations: 3.938 kB / 0.5098 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.616e-05/0.4705, allocations: 0 / 0.5098 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4705, allocations: 0 / 0.5098 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.471, allocations: 43.91 kB / 0.5098 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.4711, allocations: 127.7 kB / 0.51 GB, free: 3.32 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.0004131/0.4716, allocations: 467.7 kB / 0.5104 GB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.4717, allocations: 142.3 kB / 0.5105 GB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.4722, allocations: 248.3 kB / 0.5108 GB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4722, allocations: 0 / 0.5108 GB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4722, allocations: 0 / 0.5108 GB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4722, allocations: 0 / 0.5108 GB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.475, allocations: 2.01 MB / 0.5127 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.475, allocations: 0 / 0.5127 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.4751, allocations: 11.94 kB / 0.5128 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4751, allocations: 0 / 0.5128 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/0.4752, allocations: 35.97 kB / 0.5128 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4752, allocations: 0 / 0.5128 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4752, allocations: 0 / 0.5128 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.4768, allocations: 1.281 MB / 0.514 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009918/0.4778, allocations: 0.6824 MB / 0.5147 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.478, allocations: 59.97 kB / 0.5148 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.4784, allocations: 43.88 kB / 0.5148 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005647/0.479, allocations: 375.6 kB / 0.5152 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.4791, allocations: 131.9 kB / 0.5153 GB, free: 13.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001798/0.4809, allocations: 1.267 MB / 0.5165 GB, free: 12.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4809, allocations: 0 / 0.5165 GB, free: 12.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005225/0.4815, allocations: 148 kB / 0.5167 GB, free: 12.3 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.0002658/0.4817, allocations: 189.6 kB / 0.5168 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.4837, allocations: 1.872 MB / 0.5187 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4837, allocations: 0 / 0.5187 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.4849, allocations: 1.421 MB / 0.5201 GB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.4862, allocations: 289.6 kB / 0.5203 GB, free: 8.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.4899, allocations: 2.502 MB / 0.5228 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.4911, allocations: 1.223 MB / 0.524 GB, free: 4.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.4912, allocations: 31.47 kB / 0.524 GB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.4913, allocations: 19.44 kB / 0.524 GB, free: 4.504 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4913, allocations: 4 kB / 0.524 GB, free: 4.5 MB / 394.7 MB Notification: Performance of Templates: time 0.02006/0.5114, allocations: 14.75 MB / 0.5384 GB, free: 5.488 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