Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 172.2 kB / 17.39 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008105/0.0008105, allocations: 103.1 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003771, allocations: 11.94 kB / 352.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 50.39 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.3945, allocations: 83.34 MB / 486.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.3948, allocations: 69.06 kB / 486.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3059/0.7006, allocations: 38.97 MB / 0.5128 GB, free: 96.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7007, allocations: 0 / 0.5128 GB, free: 96.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.688e-05/0.7007, allocations: 18.31 kB / 0.5128 GB, free: 96.05 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.001503/0.7022, allocations: 1.51 MB / 0.5143 GB, free: 94.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.7023, allocations: 7.812 kB / 0.5143 GB, free: 94.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.7025, allocations: 137.5 kB / 0.5144 GB, free: 94.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.7031, allocations: 0.5819 MB / 0.515 GB, free: 94.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.7032, allocations: 18.59 kB / 0.515 GB, free: 94.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.7032, allocations: 27.25 kB / 0.5151 GB, free: 94.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/0.7041, allocations: 0.6189 MB / 0.5157 GB, free: 94.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7041, allocations: 192 / 0.5157 GB, free: 94.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.7041, allocations: 21.28 kB / 0.5157 GB, free: 94.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.7042, allocations: 3.844 kB / 0.5157 GB, free: 94.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.7047, allocations: 470.1 kB / 0.5161 GB, free: 94.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.7064, allocations: 1.168 MB / 0.5173 GB, free: 94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.7071, allocations: 0.6946 MB / 0.5179 GB, free: 93.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000661/0.7077, allocations: 0.6807 MB / 0.5186 GB, free: 93.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.7078, allocations: 3.438 kB / 0.5186 GB, free: 93.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007478/0.7085, allocations: 0.7358 MB / 0.5193 GB, free: 92.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/0.7085, allocations: 7.688 kB / 0.5193 GB, free: 92.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002107/0.7106, allocations: 1.876 MB / 0.5212 GB, free: 91.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.7108, allocations: 332.3 kB / 0.5215 GB, free: 91.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.7133, allocations: 1.86 MB / 0.5233 GB, free: 90.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.7134, allocations: 45.69 kB / 0.5233 GB, free: 90.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.7136, allocations: 245.8 kB / 0.5236 GB, free: 89.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.7137, allocations: 68.62 kB / 0.5236 GB, free: 89.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.7138, allocations: 8 kB / 0.5237 GB, free: 89.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7139, allocations: 386.7 kB / 0.524 GB, free: 89.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.7144, allocations: 447.7 kB / 0.5245 GB, free: 88.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.715, allocations: 480.7 kB / 0.5249 GB, free: 88.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009817/0.716, allocations: 1.158 MB / 0.526 GB, free: 87.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.716, allocations: 0 / 0.526 GB, free: 87.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00144/0.7174, allocations: 1.362 MB / 0.5274 GB, free: 85.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.7176, allocations: 297.5 kB / 0.5277 GB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.7176, allocations: 0 / 0.5277 GB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.7176, allocations: 7.938 kB / 0.5277 GB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.001e-05/0.7177, allocations: 0 / 0.5277 GB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.7177, allocations: 4 kB / 0.5277 GB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.7181, allocations: 43.62 kB / 0.5277 GB, free: 85.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.7182, allocations: 128.2 kB / 0.5278 GB, free: 85.3 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.001011/0.7193, allocations: 1.002 MB / 0.5288 GB, free: 84.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.7194, allocations: 134.4 kB / 0.5289 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.7198, allocations: 259.8 kB / 0.5292 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.7199, allocations: 0 / 0.5292 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7199, allocations: 0 / 0.5292 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7199, allocations: 0 / 0.5292 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.7224, allocations: 2.424 MB / 0.5316 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.7225, allocations: 3.938 kB / 0.5316 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-06/0.7225, allocations: 4 kB / 0.5316 GB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7225, allocations: 3.375 kB / 0.5316 GB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.7225, allocations: 35.97 kB / 0.5316 GB, free: 81.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7226, allocations: 0 / 0.5316 GB, free: 81.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7226, allocations: 4 kB / 0.5316 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.7242, allocations: 1.65 MB / 0.5332 GB, free: 79.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007794/0.725, allocations: 0.6785 MB / 0.5339 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.7251, allocations: 63.95 kB / 0.5339 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.7254, allocations: 39.91 kB / 0.534 GB, free: 78.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004621/0.7259, allocations: 375.6 kB / 0.5343 GB, free: 78.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.726, allocations: 132.2 kB / 0.5345 GB, free: 78.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001572/0.7276, allocations: 1.341 MB / 0.5358 GB, free: 76.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7276, allocations: 0 / 0.5358 GB, free: 76.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.7281, allocations: 148 kB / 0.5359 GB, free: 76.77 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.000195/0.7283, allocations: 198.4 kB / 0.5361 GB, free: 76.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.7299, allocations: 1.922 MB / 0.538 GB, free: 74.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7299, allocations: 0 / 0.538 GB, free: 74.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009257/0.7308, allocations: 1.432 MB / 0.5394 GB, free: 73.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.7319, allocations: 320 kB / 0.5397 GB, free: 72.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.7355, allocations: 3.146 MB / 0.5428 GB, free: 69.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008084/0.7363, allocations: 1.2 MB / 0.5439 GB, free: 68.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.7364, allocations: 38 kB / 0.544 GB, free: 68.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.7365, allocations: 15.44 kB / 0.544 GB, free: 68.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.7365, allocations: 0 / 0.544 GB, free: 68.28 MB / 378.7 MB Notification: Performance of Templates: time 0.01746/0.7539, allocations: 15.29 MB / 0.5589 GB, free: 52.8 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches