Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 180.6 kB / 17.01 MB, free: 5.121 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.91/1.91, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009518/0.0009518, allocations: 92.22 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002909, allocations: 12 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3286, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4732, allocations: 82.35 MB / 458.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.4735, allocations: 67.97 kB / 458.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06136/0.5349, allocations: 30.65 MB / 488.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5349, allocations: 4 kB / 488.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.146e-05/0.535, allocations: 12 kB / 488.9 MB, free: 15.61 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.001907/0.5369, allocations: 1.523 MB / 490.4 MB, free: 13.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5369, allocations: 8.031 kB / 490.4 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.5371, allocations: 134.4 kB / 490.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007674/0.5379, allocations: 0.5171 MB / 491.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.538, allocations: 23.98 kB / 491.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.538, allocations: 28 kB / 491.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.5391, allocations: 0.623 MB / 491.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5391, allocations: 0 / 491.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.5392, allocations: 23.98 kB / 491.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5392, allocations: 4 kB / 491.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.5399, allocations: 483.7 kB / 492.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.542, allocations: 1.17 MB / 493.4 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008366/0.5429, allocations: 0.6936 MB / 494.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.5429, allocations: 4 kB / 494.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009281/0.5439, allocations: 0.7561 MB / 494.9 MB, free: 9.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.5439, allocations: 0 / 494.9 MB, free: 9.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002915/0.5468, allocations: 2.128 MB / 497 MB, free: 7.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000229/0.547, allocations: 333 kB / 497.3 MB, free: 6.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.5495, allocations: 1.632 MB / 499 MB, free: 5.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.573e-05/0.5496, allocations: 41.7 kB / 499 MB, free: 5.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.5499, allocations: 242.4 kB / 499.2 MB, free: 4.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.55, allocations: 79.09 kB / 499.3 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.5501, allocations: 15.98 kB / 499.3 MB, free: 4.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.5503, allocations: 390.7 kB / 499.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006374/0.551, allocations: 451.7 kB / 0.4884 GB, free: 3.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.5516, allocations: 486.6 kB / 0.4889 GB, free: 3.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/0.5523, allocations: 0.5934 MB / 0.4895 GB, free: 2.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5523, allocations: 0 / 0.4895 GB, free: 2.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001858/0.5541, allocations: 1.353 MB / 0.4908 GB, free: 1.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.5544, allocations: 293.5 kB / 0.4911 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5544, allocations: 7.938 kB / 0.4911 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.5544, allocations: 0 / 0.4911 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-05/0.5545, allocations: 4 kB / 0.4911 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5545, allocations: 0 / 0.4911 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.5549, allocations: 43.88 kB / 0.4911 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.555, allocations: 132.1 kB / 0.4912 GB, free: 0.8242 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 37 ($PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,$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,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,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 () * Number of clocked 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.2525/0.8075, allocations: 0.9938 MB / 0.4922 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.8079, allocations: 133.7 kB / 0.4923 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008463/0.8087, allocations: 248.2 kB / 0.4926 GB, free: 106 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.8087, allocations: 3.406 kB / 0.4926 GB, free: 106 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8087, allocations: 0.5312 kB / 0.4926 GB, free: 106 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8087, allocations: 1.188 kB / 0.4926 GB, free: 106 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.8126, allocations: 2.426 MB / 0.495 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.8126, allocations: 1.219 kB / 0.495 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.8126, allocations: 3.844 kB / 0.495 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.8126, allocations: 1.094 kB / 0.495 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/0.8127, allocations: 36.81 kB / 0.495 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.8127, allocations: 1.281 kB / 0.495 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8128, allocations: 3.438 kB / 0.495 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.8151, allocations: 1.648 MB / 0.4966 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.8163, allocations: 0.6742 MB / 0.4973 GB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.8166, allocations: 63 kB / 0.4973 GB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.817, allocations: 41.72 kB / 0.4974 GB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008044/0.8178, allocations: 381.3 kB / 0.4977 GB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002641/0.8181, allocations: 127.8 kB / 0.4979 GB, free: 104.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00283/0.8209, allocations: 1.345 MB / 0.4992 GB, free: 104.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.8209, allocations: 0 / 0.4992 GB, free: 104.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007134/0.8216, allocations: 149.3 kB / 0.4993 GB, free: 104.3 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,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) * Number of clocked states: 0 () * 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.0002875/0.8219, allocations: 185.2 kB / 0.4995 GB, free: 104.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.8244, allocations: 1.942 MB / 0.5014 GB, free: 103.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8244, allocations: 0 / 0.5014 GB, free: 103.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.8255, allocations: 1.439 MB / 0.5028 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.8266, allocations: 317.8 kB / 0.5031 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.8313, allocations: 3.146 MB / 0.5062 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.8325, allocations: 1.224 MB / 0.5074 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002833/0.8328, allocations: 35.67 kB / 0.5074 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.8328, allocations: 14.88 kB / 0.5074 GB, free: 100.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.193e-06/0.8328, allocations: 7.875 kB / 0.5074 GB, free: 100.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02074/0.8536, allocations: 15.24 MB / 0.5223 GB, free: 91.58 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches