Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001145, allocations: 171.6 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007927/0.0007927, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.621e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09513, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3366/0.4318, allocations: 82.3 MB / 452.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4321, allocations: 67.59 kB / 452.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07066/0.5027, allocations: 38.81 MB / 491.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5028, allocations: 0 / 491.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.789e-05/0.5028, allocations: 20 kB / 491.2 MB, free: 5.676 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.001364/0.5042, allocations: 1.315 MB / 492.5 MB, free: 4.262 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5042, allocations: 8.031 kB / 492.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.5044, allocations: 134.4 kB / 492.7 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007414/0.5052, allocations: 0.5133 MB / 493.2 MB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.5052, allocations: 23.98 kB / 493.2 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.958e-05/0.5053, allocations: 32 kB / 493.2 MB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/0.5062, allocations: 0.6182 MB / 493.9 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.5063, allocations: 0 / 493.9 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.5063, allocations: 12 kB / 493.9 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5063, allocations: 4 kB / 493.9 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.5071, allocations: 475.7 kB / 494.3 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.5091, allocations: 1.182 MB / 495.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008658/0.5099, allocations: 0.6859 MB / 496.2 MB, free: 476 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008479/0.5108, allocations: 0.6841 MB / 496.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.5108, allocations: 0 / 496.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009153/0.5118, allocations: 0.7417 MB / 497.6 MB, free: 15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.5118, allocations: 0 / 497.6 MB, free: 15 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001947/0.5137, allocations: 1.414 MB / 499 MB, free: 13.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002581/0.514, allocations: 329 kB / 499.4 MB, free: 13.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.5163, allocations: 1.619 MB / 0.4892 GB, free: 11.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.377e-05/0.5164, allocations: 49.62 kB / 0.4893 GB, free: 11.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.5167, allocations: 246.4 kB / 0.4895 GB, free: 11.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.38e-05/0.5168, allocations: 71.16 kB / 0.4896 GB, free: 11.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.5168, allocations: 20.09 kB / 0.4896 GB, free: 11.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.517, allocations: 382.7 kB / 0.49 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/0.5176, allocations: 451.8 kB / 0.4904 GB, free: 10.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.5182, allocations: 455.5 kB / 0.4908 GB, free: 9.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.5189, allocations: 0.5956 MB / 0.4914 GB, free: 9.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5189, allocations: 0 / 0.4914 GB, free: 9.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0017/0.5206, allocations: 1.334 MB / 0.4927 GB, free: 7.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.5208, allocations: 289.5 kB / 0.493 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5208, allocations: 7.984 kB / 0.493 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5208, allocations: 0 / 0.493 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.519e-05/0.5209, allocations: 3.984 kB / 0.493 GB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.5209, allocations: 3.953 kB / 0.493 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.5213, allocations: 51.81 kB / 0.4931 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.5215, allocations: 128.2 kB / 0.4932 GB, free: 7.293 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.0004031/0.5219, allocations: 455.7 kB / 0.4936 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.522, allocations: 134.5 kB / 0.4938 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.5225, allocations: 252 kB / 0.494 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5225, allocations: 4 kB / 0.494 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5226, allocations: 0 / 0.494 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5226, allocations: 3.953 kB / 0.494 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.5255, allocations: 2.407 MB / 0.4964 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5255, allocations: 0 / 0.4964 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.5255, allocations: 4 kB / 0.4964 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5255, allocations: 3.938 kB / 0.4964 GB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-05/0.5256, allocations: 39.97 kB / 0.4964 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5256, allocations: 3.938 kB / 0.4964 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5256, allocations: 3.953 kB / 0.4964 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.5276, allocations: 1.626 MB / 0.498 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.5286, allocations: 0.6785 MB / 0.4987 GB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.5288, allocations: 55.97 kB / 0.4987 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.5292, allocations: 43.97 kB / 0.4988 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005458/0.5297, allocations: 383.5 kB / 0.4991 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.5299, allocations: 128 kB / 0.4992 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001795/0.5317, allocations: 1.332 MB / 0.5005 GB, free: 15.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5317, allocations: 0 / 0.5005 GB, free: 15.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004605/0.5321, allocations: 144 kB / 0.5007 GB, free: 15.35 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.0002443/0.5324, allocations: 193.7 kB / 0.5009 GB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001985/0.5344, allocations: 1.917 MB / 0.5027 GB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5344, allocations: 0 / 0.5027 GB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.5358, allocations: 1.441 MB / 0.5041 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.537, allocations: 303.8 kB / 0.5044 GB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.5408, allocations: 2.509 MB / 0.5069 GB, free: 8.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.542, allocations: 1.227 MB / 0.5081 GB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.5422, allocations: 37.5 kB / 0.5081 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.5422, allocations: 23.44 kB / 0.5081 GB, free: 7.434 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5422, allocations: 0 / 0.5081 GB, free: 7.434 MB / 394.7 MB Notification: Performance of Templates: time 0.0203/0.5625, allocations: 15.2 MB / 0.523 GB, free: 7.855 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches