Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000932/0.000932, allocations: 198.6 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007654/0.0007655, allocations: 88.48 kB / 297.4 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002167/0.0002167, allocations: 8 kB / 357.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1782, allocations: 51.3 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08539/0.2636, allocations: 83.89 MB / 492.6 MB, free: 7.711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.2639, allocations: 82.16 kB / 492.6 MB, free: 7.633 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1989/0.4628, allocations: 37.92 MB / 0.5181 GB, free: 92.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4628, allocations: 0 / 0.5181 GB, free: 92.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.4629, allocations: 10.59 kB / 0.5181 GB, free: 92.13 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000836/0.4637, allocations: 1.126 MB / 0.5192 GB, free: 91.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.4637, allocations: 10.5 kB / 0.5192 GB, free: 91.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.4639, allocations: 90.19 kB / 0.5193 GB, free: 91.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.4643, allocations: 466.3 kB / 0.5198 GB, free: 90.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.4643, allocations: 17.81 kB / 0.5198 GB, free: 90.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.4644, allocations: 23.84 kB / 0.5198 GB, free: 90.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.4651, allocations: 0.5156 MB / 0.5203 GB, free: 90.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4651, allocations: 192 / 0.5203 GB, free: 90.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.4651, allocations: 18.69 kB / 0.5203 GB, free: 90.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4652, allocations: 3.984 kB / 0.5203 GB, free: 90.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/0.4656, allocations: 369.4 kB / 0.5207 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009698/0.4666, allocations: 0.8611 MB / 0.5215 GB, free: 89.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.4671, allocations: 0.5083 MB / 0.522 GB, free: 89.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004745/0.4676, allocations: 0.4923 MB / 0.5225 GB, free: 89.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.4676, allocations: 0 / 0.5225 GB, free: 89.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006079/0.4682, allocations: 0.6562 MB / 0.5231 GB, free: 88.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.4683, allocations: 0 / 0.5231 GB, free: 88.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001735/0.47, allocations: 1.548 MB / 0.5247 GB, free: 86.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.4701, allocations: 275.3 kB / 0.5249 GB, free: 86.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.4712, allocations: 1.168 MB / 0.5261 GB, free: 85.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.4713, allocations: 41.7 kB / 0.5261 GB, free: 85.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.4714, allocations: 153.9 kB / 0.5262 GB, free: 85.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/0.4714, allocations: 78.77 kB / 0.5263 GB, free: 85.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.4715, allocations: 16 kB / 0.5263 GB, free: 85.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.4716, allocations: 346.8 kB / 0.5267 GB, free: 84.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.472, allocations: 344 kB / 0.527 GB, free: 84.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.4724, allocations: 378.9 kB / 0.5274 GB, free: 84.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/0.4731, allocations: 0.9746 MB / 0.5283 GB, free: 83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4731, allocations: 4 kB / 0.5283 GB, free: 82.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001164/0.4743, allocations: 1.141 MB / 0.5294 GB, free: 81.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/0.4744, allocations: 239.9 kB / 0.5297 GB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4744, allocations: 0 / 0.5297 GB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4745, allocations: 7.844 kB / 0.5297 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.219e-05/0.4745, allocations: 0 / 0.5297 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4745, allocations: 7.938 kB / 0.5297 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.4747, allocations: 39.94 kB / 0.5297 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.4749, allocations: 155.7 kB / 0.5299 GB, free: 81.33 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: 40 ($PRE.dFFREGL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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.0005946/0.4755, allocations: 0.7636 MB / 0.5306 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.4756, allocations: 87.06 kB / 0.5307 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.4758, allocations: 155.7 kB / 0.5308 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4758, allocations: 0 / 0.5308 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4758, allocations: 7.938 kB / 0.5308 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4758, allocations: 0 / 0.5308 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.4777, allocations: 1.985 MB / 0.5328 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4777, allocations: 0 / 0.5328 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-06/0.4777, allocations: 3.938 kB / 0.5328 GB, free: 78.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4777, allocations: 4 kB / 0.5328 GB, free: 78.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.894e-05/0.4778, allocations: 39.91 kB / 0.5328 GB, free: 78.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4778, allocations: 0 / 0.5328 GB, free: 78.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4778, allocations: 4 kB / 0.5328 GB, free: 78.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.4792, allocations: 1.412 MB / 0.5342 GB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/0.4798, allocations: 0.5543 MB / 0.5348 GB, free: 76.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.4799, allocations: 63.89 kB / 0.5348 GB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.4802, allocations: 35.89 kB / 0.5348 GB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.4805, allocations: 239.7 kB / 0.5351 GB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.4807, allocations: 159.8 kB / 0.5352 GB, free: 75.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008375/0.4815, allocations: 0.8655 MB / 0.5361 GB, free: 74.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4815, allocations: 4 kB / 0.5361 GB, free: 74.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000378/0.4819, allocations: 124 kB / 0.5362 GB, free: 74.63 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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 7 * 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.0001778/0.4821, allocations: 188.2 kB / 0.5364 GB, free: 74.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.4833, allocations: 1.518 MB / 0.5379 GB, free: 72.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4833, allocations: 4.125 kB / 0.5379 GB, free: 72.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00073/0.4841, allocations: 1.109 MB / 0.5389 GB, free: 71.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.4851, allocations: 297.8 kB / 0.5392 GB, free: 71.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.4873, allocations: 2.246 MB / 0.5414 GB, free: 69.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.4878, allocations: 1.015 MB / 0.5424 GB, free: 68.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.4878, allocations: 15.44 kB / 0.5424 GB, free: 68.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4878, allocations: 3.938 kB / 0.5424 GB, free: 68.02 MB / 378.7 MB Notification: Performance of Templates: time 0.007131/0.495, allocations: 8.16 MB / 0.5504 GB, free: 59.78 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches