Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 176.4 kB / 17.4 MB, free: 4.418 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.451/1.451, allocations: 223.3 MB / 241.4 MB, free: 9.973 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.0008362/0.0008359, allocations: 95.16 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 15.94 kB / 352.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2871, allocations: 50.41 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.4352, allocations: 83.18 MB / 485.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.4355, allocations: 71.97 kB / 486 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2573/0.6929, allocations: 37.88 MB / 0.5116 GB, free: 95.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6929, allocations: 0 / 0.5116 GB, free: 95.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.59e-05/0.693, allocations: 14.02 kB / 0.5116 GB, free: 95.85 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.001312/0.6943, allocations: 1.136 MB / 0.5127 GB, free: 95.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6943, allocations: 10.62 kB / 0.5127 GB, free: 95.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.6945, allocations: 89.53 kB / 0.5128 GB, free: 95.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.6951, allocations: 451.2 kB / 0.5133 GB, free: 94.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.6952, allocations: 19.91 kB / 0.5133 GB, free: 94.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.6953, allocations: 29.38 kB / 0.5133 GB, free: 94.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.696, allocations: 0.5125 MB / 0.5138 GB, free: 94.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.696, allocations: 4.188 kB / 0.5138 GB, free: 94.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.6961, allocations: 18.41 kB / 0.5138 GB, free: 94.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6961, allocations: 0 / 0.5138 GB, free: 94.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004798/0.6966, allocations: 371.4 kB / 0.5142 GB, free: 94.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.6977, allocations: 0.8566 MB / 0.515 GB, free: 94.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.6982, allocations: 0.5054 MB / 0.5155 GB, free: 94.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.6988, allocations: 0.4911 MB / 0.516 GB, free: 93.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.6988, allocations: 0 / 0.516 GB, free: 93.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006525/0.6994, allocations: 0.6589 MB / 0.5166 GB, free: 93.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.364e-06/0.6994, allocations: 0 / 0.5166 GB, free: 93.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001794/0.7012, allocations: 1.555 MB / 0.5181 GB, free: 93.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/0.7014, allocations: 280.1 kB / 0.5184 GB, free: 92.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.7027, allocations: 1.165 MB / 0.5195 GB, free: 92.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.7027, allocations: 48.59 kB / 0.5196 GB, free: 92.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.7028, allocations: 146.9 kB / 0.5197 GB, free: 92.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.7029, allocations: 75.31 kB / 0.5198 GB, free: 92.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.7029, allocations: 11.06 kB / 0.5198 GB, free: 92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.703, allocations: 351.6 kB / 0.5202 GB, free: 91.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.7035, allocations: 346.3 kB / 0.5205 GB, free: 91.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.7039, allocations: 372.9 kB / 0.5208 GB, free: 91.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008095/0.7047, allocations: 0.9729 MB / 0.5218 GB, free: 90.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7047, allocations: 0 / 0.5218 GB, free: 90.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001225/0.706, allocations: 1.142 MB / 0.5229 GB, free: 90.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.7061, allocations: 241.1 kB / 0.5231 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7061, allocations: 6.219 kB / 0.5231 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7061, allocations: 0 / 0.5231 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.719e-05/0.7062, allocations: 7.719 kB / 0.5231 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7062, allocations: 7.922 kB / 0.5232 GB, free: 89.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.7065, allocations: 37.08 kB / 0.5232 GB, free: 89.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.7066, allocations: 155 kB / 0.5233 GB, free: 89.76 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.0006308/0.7073, allocations: 0.7643 MB / 0.5241 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.7074, allocations: 86.97 kB / 0.5242 GB, free: 88.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.7076, allocations: 155.7 kB / 0.5243 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.7076, allocations: 4 kB / 0.5243 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7076, allocations: 7.875 kB / 0.5243 GB, free: 88.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.7076, allocations: 3.984 kB / 0.5243 GB, free: 88.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.7095, allocations: 1.976 MB / 0.5263 GB, free: 86.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7096, allocations: 0 / 0.5263 GB, free: 86.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.7096, allocations: 7.984 kB / 0.5263 GB, free: 86.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.7096, allocations: 0 / 0.5263 GB, free: 86.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.7096, allocations: 35.92 kB / 0.5263 GB, free: 86.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.7097, allocations: 4 kB / 0.5263 GB, free: 86.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7097, allocations: 0 / 0.5263 GB, free: 86.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.7111, allocations: 1.412 MB / 0.5277 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006436/0.7117, allocations: 0.5659 MB / 0.5282 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.7119, allocations: 63.91 kB / 0.5283 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.7121, allocations: 34.22 kB / 0.5283 GB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003228/0.7125, allocations: 239.7 kB / 0.5286 GB, free: 84.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.7126, allocations: 152.2 kB / 0.5287 GB, free: 84.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000916/0.7135, allocations: 0.8694 MB / 0.5296 GB, free: 83.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7136, allocations: 0 / 0.5296 GB, free: 83.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004093/0.714, allocations: 124 kB / 0.5297 GB, free: 83.11 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.0002146/0.7142, allocations: 187.1 kB / 0.5299 GB, free: 82.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.7155, allocations: 1.515 MB / 0.5313 GB, free: 81.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7155, allocations: 0 / 0.5313 GB, free: 81.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007752/0.7163, allocations: 1.113 MB / 0.5324 GB, free: 80.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.7173, allocations: 289.8 kB / 0.5327 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.7198, allocations: 2.161 MB / 0.5348 GB, free: 77.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.7203, allocations: 1.023 MB / 0.5358 GB, free: 76.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.7205, allocations: 39.38 kB / 0.5358 GB, free: 76.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.7205, allocations: 19.44 kB / 0.5359 GB, free: 76.57 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7205, allocations: 0 / 0.5359 GB, free: 76.57 MB / 378.7 MB Notification: Performance of Templates: time 0.01441/0.7349, allocations: 13.64 MB / 0.5492 GB, free: 62.83 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches