Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 197.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.18/1.18, allocations: 227.2 MB / 245 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008475/0.0008475, allocations: 104.5 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001987/0.0001987, allocations: 11.98 kB / 357.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1751, allocations: 51.49 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08834/0.2635, allocations: 84.21 MB / 493.6 MB, free: 6.422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.2637, allocations: 71.97 kB / 493.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2157/0.4795, allocations: 33.03 MB / 0.5144 GB, free: 93.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4795, allocations: 0 / 0.5144 GB, free: 93.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.578e-05/0.4795, allocations: 11.69 kB / 0.5144 GB, free: 93.46 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.001664/0.4812, allocations: 1.5 MB / 0.5159 GB, free: 92.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.4813, allocations: 10.81 kB / 0.5159 GB, free: 92.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.4815, allocations: 129.2 kB / 0.516 GB, free: 92.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007978/0.4823, allocations: 0.5121 MB / 0.5165 GB, free: 91.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.4824, allocations: 23.19 kB / 0.5165 GB, free: 91.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.4824, allocations: 30.67 kB / 0.5165 GB, free: 91.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008984/0.4834, allocations: 0.6221 MB / 0.5171 GB, free: 91.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4834, allocations: 3.719 kB / 0.5171 GB, free: 91.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.4834, allocations: 22.64 kB / 0.5172 GB, free: 91.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4835, allocations: 4 kB / 0.5172 GB, free: 91.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.484, allocations: 473.3 kB / 0.5176 GB, free: 91.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.4856, allocations: 1.082 MB / 0.5187 GB, free: 90.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.4863, allocations: 0.7065 MB / 0.5194 GB, free: 90.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.4863, allocations: 3.656 kB / 0.5194 GB, free: 90.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007244/0.487, allocations: 0.7686 MB / 0.5201 GB, free: 89.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.245e-06/0.4871, allocations: 0 / 0.5201 GB, free: 89.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002119/0.4892, allocations: 2.134 MB / 0.5222 GB, free: 88.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.4893, allocations: 329.4 kB / 0.5225 GB, free: 87.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.4911, allocations: 1.62 MB / 0.5241 GB, free: 86.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.4912, allocations: 45.69 kB / 0.5242 GB, free: 86.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.4914, allocations: 230.5 kB / 0.5244 GB, free: 86.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.4915, allocations: 85.33 kB / 0.5245 GB, free: 85.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.4915, allocations: 15.98 kB / 0.5245 GB, free: 85.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.4916, allocations: 382.7 kB / 0.5248 GB, free: 85.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.4922, allocations: 447.9 kB / 0.5253 GB, free: 85.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.4927, allocations: 490.6 kB / 0.5257 GB, free: 84.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.4931, allocations: 0.5832 MB / 0.5263 GB, free: 83.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4931, allocations: 0 / 0.5263 GB, free: 83.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001358/0.4945, allocations: 1.36 MB / 0.5276 GB, free: 82.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.4946, allocations: 289.5 kB / 0.5279 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4946, allocations: 0 / 0.5279 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4947, allocations: 4 kB / 0.5279 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.53e-05/0.4947, allocations: 11.91 kB / 0.5279 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4947, allocations: 3.953 kB / 0.5279 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.495, allocations: 43.88 kB / 0.528 GB, free: 82.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.4952, allocations: 159.7 kB / 0.5281 GB, free: 82.02 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.dFFREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.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.0008626/0.496, allocations: 0.9839 MB / 0.5291 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4962, allocations: 134.4 kB / 0.5292 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.4965, allocations: 251.6 kB / 0.5294 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4965, allocations: 4 kB / 0.5294 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4965, allocations: 0 / 0.5294 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4965, allocations: 3.953 kB / 0.5295 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.499, allocations: 2.412 MB / 0.5318 GB, free: 78.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.499, allocations: 0 / 0.5318 GB, free: 78.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.499, allocations: 0 / 0.5318 GB, free: 78.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.499, allocations: 8 kB / 0.5318 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-05/0.4991, allocations: 43.97 kB / 0.5319 GB, free: 78.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4991, allocations: 0 / 0.5319 GB, free: 78.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4991, allocations: 3.953 kB / 0.5319 GB, free: 78.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.5007, allocations: 1.638 MB / 0.5335 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008769/0.5016, allocations: 0.6823 MB / 0.5341 GB, free: 75.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.5017, allocations: 63.95 kB / 0.5342 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.502, allocations: 43.97 kB / 0.5342 GB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000405/0.5025, allocations: 361.9 kB / 0.5346 GB, free: 75.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.5026, allocations: 151.9 kB / 0.5347 GB, free: 75.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001443/0.504, allocations: 1.329 MB / 0.536 GB, free: 73.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5041, allocations: 0 / 0.536 GB, free: 73.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004495/0.5045, allocations: 156 kB / 0.5362 GB, free: 73.53 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,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.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.0001929/0.5047, allocations: 193 kB / 0.5363 GB, free: 73.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.5062, allocations: 1.929 MB / 0.5382 GB, free: 71.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5062, allocations: 0 / 0.5382 GB, free: 71.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008864/0.5071, allocations: 1.4 MB / 0.5396 GB, free: 69.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/0.508, allocations: 314.7 kB / 0.5399 GB, free: 69.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.5114, allocations: 3.093 MB / 0.5429 GB, free: 66.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/0.5123, allocations: 1.216 MB / 0.5441 GB, free: 65.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.5126, allocations: 155.9 kB / 0.5443 GB, free: 65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.5126, allocations: 27.44 kB / 0.5443 GB, free: 64.98 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5126, allocations: 4 kB / 0.5443 GB, free: 64.97 MB / 378.7 MB Notification: Performance of Templates: time 0.01849/0.5311, allocations: 16.68 MB / 0.5606 GB, free: 48.06 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGSRL/DFFREGSRL.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches