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.002114/0.002114, allocations: 201.2 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00076/0.00076, allocations: 98.38 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002539, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2382, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.3386, allocations: 84 MB / 493.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.3388, allocations: 67.97 kB / 493.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2361/0.5749, allocations: 31.02 MB / 0.5122 GB, free: 93.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.575, allocations: 0 / 0.5122 GB, free: 93.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.843e-05/0.575, allocations: 16.59 kB / 0.5122 GB, free: 93.41 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.001515/0.5765, allocations: 1.503 MB / 0.5136 GB, free: 92.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.5766, allocations: 11.78 kB / 0.5137 GB, free: 92.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.5768, allocations: 139.7 kB / 0.5138 GB, free: 92.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.5774, allocations: 0.5518 MB / 0.5143 GB, free: 91.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.5775, allocations: 26.78 kB / 0.5144 GB, free: 91.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.5775, allocations: 30.78 kB / 0.5144 GB, free: 91.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008236/0.5784, allocations: 0.6218 MB / 0.515 GB, free: 91.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5784, allocations: 4.125 kB / 0.515 GB, free: 91.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.5785, allocations: 28.77 kB / 0.515 GB, free: 91.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5785, allocations: 3.531 kB / 0.515 GB, free: 91.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.5791, allocations: 468.4 kB / 0.5155 GB, free: 91.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.5808, allocations: 1.17 MB / 0.5166 GB, free: 91.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.5815, allocations: 0.7022 MB / 0.5173 GB, free: 91.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006045/0.5821, allocations: 0.6834 MB / 0.518 GB, free: 90.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.5821, allocations: 0 / 0.518 GB, free: 90.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007231/0.5829, allocations: 0.7446 MB / 0.5187 GB, free: 90.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/0.5829, allocations: 3.656 kB / 0.5187 GB, free: 90.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002149/0.585, allocations: 1.868 MB / 0.5205 GB, free: 89.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.5852, allocations: 336.7 kB / 0.5208 GB, free: 89.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.5876, allocations: 1.851 MB / 0.5226 GB, free: 88.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-05/0.5877, allocations: 48.19 kB / 0.5227 GB, free: 88.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.5879, allocations: 239.5 kB / 0.5229 GB, free: 87.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/0.588, allocations: 79.62 kB / 0.523 GB, free: 87.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.588, allocations: 14.75 kB / 0.523 GB, free: 87.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5882, allocations: 380.8 kB / 0.5234 GB, free: 87.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.5887, allocations: 442.1 kB / 0.5238 GB, free: 87.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.5892, allocations: 482 kB / 0.5243 GB, free: 87.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/0.5902, allocations: 1.167 MB / 0.5254 GB, free: 85.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5902, allocations: 0 / 0.5254 GB, free: 85.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001407/0.5916, allocations: 1.359 MB / 0.5267 GB, free: 84.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.5917, allocations: 289.5 kB / 0.527 GB, free: 84.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5917, allocations: 4.062 kB / 0.527 GB, free: 84.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5918, allocations: 7.938 kB / 0.527 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/0.5918, allocations: 3.984 kB / 0.527 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5918, allocations: 4 kB / 0.527 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.5922, allocations: 47.62 kB / 0.5271 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.5923, allocations: 128.2 kB / 0.5272 GB, free: 84 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.001027/0.5933, allocations: 0.9989 MB / 0.5282 GB, free: 82.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.5935, allocations: 130.5 kB / 0.5283 GB, free: 82.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.5939, allocations: 247.8 kB / 0.5285 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5939, allocations: 3.984 kB / 0.5285 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.594, allocations: 2.812 kB / 0.5285 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.594, allocations: 0 / 0.5285 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.5967, allocations: 2.432 MB / 0.5309 GB, free: 80.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5967, allocations: 3.938 kB / 0.5309 GB, free: 80.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.5967, allocations: 8 kB / 0.5309 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5967, allocations: 0 / 0.5309 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.809e-05/0.5968, allocations: 31.98 kB / 0.5309 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5968, allocations: 0 / 0.5309 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5968, allocations: 4 kB / 0.531 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.5984, allocations: 1.649 MB / 0.5326 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008671/0.5993, allocations: 0.6823 MB / 0.5332 GB, free: 77.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.5995, allocations: 59.97 kB / 0.5333 GB, free: 77.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.5999, allocations: 39.95 kB / 0.5333 GB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004632/0.6003, allocations: 371.6 kB / 0.5337 GB, free: 77.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.6005, allocations: 142.7 kB / 0.5338 GB, free: 76.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001778/0.6023, allocations: 1.345 MB / 0.5351 GB, free: 75.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.6023, allocations: 0 / 0.5351 GB, free: 75.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005089/0.6028, allocations: 151.9 kB / 0.5353 GB, free: 75.47 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.0002096/0.603, allocations: 189.1 kB / 0.5355 GB, free: 75.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.6046, allocations: 1.915 MB / 0.5373 GB, free: 73.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6047, allocations: 0 / 0.5373 GB, free: 73.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009233/0.6056, allocations: 1.428 MB / 0.5387 GB, free: 71.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.6067, allocations: 322.7 kB / 0.539 GB, free: 71.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.6107, allocations: 3.135 MB / 0.5421 GB, free: 68.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.6118, allocations: 1.207 MB / 0.5433 GB, free: 67.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.612, allocations: 33.52 kB / 0.5433 GB, free: 67.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.612, allocations: 19.44 kB / 0.5433 GB, free: 66.99 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.612, allocations: 0 / 0.5433 GB, free: 66.99 MB / 378.7 MB Notification: Performance of Templates: time 0.01679/0.6288, allocations: 15.3 MB / 0.5583 GB, free: 51.5 MB / 378.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/jenkins1/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