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.001816/0.001816, allocations: 183.2 kB / 18.04 MB, free: 3.785 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.462/1.462, allocations: 205.4 MB / 224.2 MB, free: 9.043 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.0008454/0.0008453, allocations: 93.36 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003763, allocations: 12 kB / 329.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2151, allocations: 47.57 MB / 377 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09583/0.311, allocations: 82.44 MB / 459.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.3113, allocations: 67.97 kB / 459.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07523/0.3865, allocations: 38.65 MB / 498.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3866, allocations: 0 / 498.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.558e-05/0.3866, allocations: 12 kB / 498.2 MB, free: 7.414 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.002251/0.3889, allocations: 1.504 MB / 499.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.389, allocations: 8.031 kB / 499.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.3892, allocations: 135.3 kB / 499.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008106/0.3901, allocations: 0.5795 MB / 0.4887 GB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.3901, allocations: 20.38 kB / 0.4887 GB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.221e-05/0.3902, allocations: 28.38 kB / 0.4887 GB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.3913, allocations: 0.6233 MB / 0.4893 GB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3913, allocations: 192 / 0.4893 GB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-05/0.3914, allocations: 19.94 kB / 0.4893 GB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3914, allocations: 4 kB / 0.4894 GB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.3921, allocations: 475.6 kB / 0.4898 GB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.3944, allocations: 1.162 MB / 0.4909 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009059/0.3953, allocations: 0.6897 MB / 0.4916 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008394/0.3962, allocations: 0.6841 MB / 0.4923 GB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.3962, allocations: 4 kB / 0.4923 GB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009739/0.3972, allocations: 0.7407 MB / 0.493 GB, free: 488 kB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.647e-06/0.3972, allocations: 3.984 kB / 0.493 GB, free: 484 kB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.1819/0.5791, allocations: 1.873 MB / 0.4948 GB, free: 106.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.5793, allocations: 329.7 kB / 0.4952 GB, free: 106.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/0.5829, allocations: 1.857 MB / 0.497 GB, free: 105.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/0.583, allocations: 41.58 kB / 0.497 GB, free: 105.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.5833, allocations: 246.4 kB / 0.4972 GB, free: 105.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.5834, allocations: 76.44 kB / 0.4973 GB, free: 105.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.5835, allocations: 15.84 kB / 0.4973 GB, free: 105.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5836, allocations: 377.7 kB / 0.4977 GB, free: 105.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006978/0.5843, allocations: 451.4 kB / 0.4981 GB, free: 105.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.585, allocations: 482.5 kB / 0.4986 GB, free: 105.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.5863, allocations: 1.161 MB / 0.4997 GB, free: 104.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5863, allocations: 0.8125 kB / 0.4997 GB, free: 104.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00197/0.5882, allocations: 1.357 MB / 0.501 GB, free: 104.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.5885, allocations: 301.3 kB / 0.5013 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.5885, allocations: 4.469 kB / 0.5013 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.5885, allocations: 5.438 kB / 0.5013 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.562e-05/0.5886, allocations: 1.875 kB / 0.5013 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.5886, allocations: 5.891 kB / 0.5013 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.589, allocations: 43.62 kB / 0.5014 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.5892, allocations: 125.8 kB / 0.5015 GB, free: 104.1 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.dLATREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,$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,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,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 () * 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.001348/0.5906, allocations: 0.9948 MB / 0.5025 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.5908, allocations: 138.7 kB / 0.5026 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.5911, allocations: 252.7 kB / 0.5029 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5911, allocations: 0 / 0.5029 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5911, allocations: 0 / 0.5029 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5912, allocations: 3.469 kB / 0.5029 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.5939, allocations: 2.424 MB / 0.5052 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.594, allocations: 2.969 kB / 0.5052 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.594, allocations: 2.078 kB / 0.5052 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.594, allocations: 1.078 kB / 0.5052 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.12e-05/0.5941, allocations: 38.3 kB / 0.5053 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5942, allocations: 0 / 0.5053 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5942, allocations: 0 / 0.5053 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.5958, allocations: 1.656 MB / 0.5069 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007979/0.5966, allocations: 0.6744 MB / 0.5075 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.5968, allocations: 63.23 kB / 0.5076 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.5971, allocations: 40.59 kB / 0.5076 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004714/0.5975, allocations: 378 kB / 0.508 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.5977, allocations: 132.8 kB / 0.5081 GB, free: 101.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001675/0.5994, allocations: 1.35 MB / 0.5094 GB, free: 100.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5994, allocations: 0 / 0.5094 GB, free: 100.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005157/0.5999, allocations: 147.1 kB / 0.5096 GB, free: 100.7 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,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) * 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.0002286/0.6001, allocations: 193 kB / 0.5098 GB, free: 100.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.6018, allocations: 1.916 MB / 0.5116 GB, free: 99.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6018, allocations: 2.5 kB / 0.5116 GB, free: 99.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.6028, allocations: 1.429 MB / 0.513 GB, free: 98.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.6039, allocations: 320.6 kB / 0.5133 GB, free: 98.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.6073, allocations: 3.15 MB / 0.5164 GB, free: 96.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.6081, allocations: 1.193 MB / 0.5176 GB, free: 96.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.6083, allocations: 44.73 kB / 0.5176 GB, free: 96.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.6083, allocations: 18.03 kB / 0.5176 GB, free: 96 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6083, allocations: 0 / 0.5176 GB, free: 96 MB / 378.7 MB Notification: Performance of Templates: time 0.01702/0.6254, allocations: 15.3 MB / 0.5326 GB, free: 82.45 MB / 378.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/jenkins1/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