Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.166/1.166, allocations: 227.2 MB / 245 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 98.66 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002538/0.0002538, allocations: 8 kB / 357.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1829, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09039/0.2733, allocations: 84.17 MB / 493.6 MB, free: 6.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.2735, allocations: 70.25 kB / 493.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.201/0.4745, allocations: 31.46 MB / 0.5128 GB, free: 93.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4746, allocations: 0 / 0.5128 GB, free: 93.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.4746, allocations: 13.91 kB / 0.5128 GB, free: 93.01 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.001382/0.476, allocations: 1.505 MB / 0.5143 GB, free: 91.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.476, allocations: 11.56 kB / 0.5143 GB, free: 91.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.4762, allocations: 131.7 kB / 0.5144 GB, free: 91.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.4769, allocations: 0.509 MB / 0.5149 GB, free: 91.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.4769, allocations: 29.42 kB / 0.515 GB, free: 91.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.123e-05/0.477, allocations: 28.84 kB / 0.515 GB, free: 91.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.4778, allocations: 0.6256 MB / 0.5156 GB, free: 91.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4778, allocations: 0 / 0.5156 GB, free: 91.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/0.4779, allocations: 23.02 kB / 0.5156 GB, free: 91.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.4779, allocations: 7.875 kB / 0.5156 GB, free: 91.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.4784, allocations: 466.9 kB / 0.5161 GB, free: 91.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.4799, allocations: 1.082 MB / 0.5171 GB, free: 90.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/0.4806, allocations: 0.699 MB / 0.5178 GB, free: 90.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.4806, allocations: 3.531 kB / 0.5178 GB, free: 90.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007324/0.4813, allocations: 0.7669 MB / 0.5186 GB, free: 90 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.4814, allocations: 0 / 0.5186 GB, free: 90 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002091/0.4834, allocations: 2.133 MB / 0.5206 GB, free: 88.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.4836, allocations: 327.7 kB / 0.521 GB, free: 88.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.4853, allocations: 1.615 MB / 0.5225 GB, free: 87.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/0.4854, allocations: 45.56 kB / 0.5226 GB, free: 87.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.4856, allocations: 234.1 kB / 0.5228 GB, free: 87.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.4857, allocations: 93 kB / 0.5229 GB, free: 87.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.4857, allocations: 11.91 kB / 0.5229 GB, free: 87.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.4858, allocations: 382.5 kB / 0.5233 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.4863, allocations: 446.6 kB / 0.5237 GB, free: 86.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.4868, allocations: 494.6 kB / 0.5242 GB, free: 85.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.4873, allocations: 0.5947 MB / 0.5247 GB, free: 85.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4873, allocations: 4 kB / 0.5247 GB, free: 85.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001331/0.4886, allocations: 1.345 MB / 0.5261 GB, free: 83.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.4887, allocations: 289.5 kB / 0.5263 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4887, allocations: 4 kB / 0.5263 GB, free: 83.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4888, allocations: 0 / 0.5263 GB, free: 83.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.409e-05/0.4888, allocations: 11.91 kB / 0.5263 GB, free: 83.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.4888, allocations: 3.953 kB / 0.5264 GB, free: 83.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.4891, allocations: 43.88 kB / 0.5264 GB, free: 83.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.4892, allocations: 163.6 kB / 0.5265 GB, free: 83.32 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: 43 ($PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * 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.0007937/0.49, allocations: 0.9896 MB / 0.5275 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.4902, allocations: 126.5 kB / 0.5276 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.4905, allocations: 251.6 kB / 0.5279 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4905, allocations: 4 kB / 0.5279 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4905, allocations: 0 / 0.5279 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4905, allocations: 7.938 kB / 0.5279 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.4928, allocations: 2.408 MB / 0.5302 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4928, allocations: 0 / 0.5302 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.4929, allocations: 8 kB / 0.5302 GB, free: 79.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4929, allocations: 3.984 kB / 0.5303 GB, free: 79.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.4929, allocations: 43.92 kB / 0.5303 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4929, allocations: 3.625 kB / 0.5303 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.493, allocations: 3.953 kB / 0.5303 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.4945, allocations: 1.641 MB / 0.5319 GB, free: 77.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008632/0.4954, allocations: 0.6863 MB / 0.5326 GB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.4956, allocations: 55.97 kB / 0.5326 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.4959, allocations: 43.97 kB / 0.5327 GB, free: 76.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/0.4963, allocations: 355.6 kB / 0.533 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.4964, allocations: 155.9 kB / 0.5332 GB, free: 76.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001418/0.4978, allocations: 1.333 MB / 0.5345 GB, free: 74.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4978, allocations: 0 / 0.5345 GB, free: 74.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004297/0.4983, allocations: 148 kB / 0.5346 GB, free: 74.83 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * 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.0001853/0.4985, allocations: 196.8 kB / 0.5348 GB, free: 74.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.4999, allocations: 1.932 MB / 0.5367 GB, free: 72.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5, allocations: 0 / 0.5367 GB, free: 72.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008747/0.5008, allocations: 1.397 MB / 0.538 GB, free: 71.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008906/0.5017, allocations: 304.4 kB / 0.5383 GB, free: 70.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.5047, allocations: 3.097 MB / 0.5414 GB, free: 67.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.5055, allocations: 1.224 MB / 0.5425 GB, free: 66.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.5057, allocations: 194 kB / 0.5427 GB, free: 66.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.5058, allocations: 27.44 kB / 0.5428 GB, free: 66.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5058, allocations: 0 / 0.5428 GB, free: 66.23 MB / 378.7 MB Notification: Performance of Templates: time 0.0153/0.5211, allocations: 16.69 MB / 0.5591 GB, free: 49.33 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGSRH/DFFREGSRH.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches