Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.378/1.378, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009118/0.0009117, allocations: 96.81 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 12 kB / 351.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2312, allocations: 50.39 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09984/0.3311, allocations: 83.4 MB / 484.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.3314, allocations: 72.7 kB / 485 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2908/0.6222, allocations: 32.97 MB / 0.5058 GB, free: 96.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6223, allocations: 3.75 kB / 0.5058 GB, free: 96.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.425e-05/0.6223, allocations: 17.16 kB / 0.5058 GB, free: 96.04 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.002597/0.6249, allocations: 1.504 MB / 0.5073 GB, free: 95.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.625, allocations: 9.031 kB / 0.5073 GB, free: 95.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.6253, allocations: 127.6 kB / 0.5074 GB, free: 94.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.6263, allocations: 0.5102 MB / 0.5079 GB, free: 94.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/0.6264, allocations: 22.59 kB / 0.5079 GB, free: 94.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6265, allocations: 28.34 kB / 0.508 GB, free: 94.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.6276, allocations: 0.6259 MB / 0.5086 GB, free: 94.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6276, allocations: 0 / 0.5086 GB, free: 94.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.6277, allocations: 21 kB / 0.5086 GB, free: 94.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.6277, allocations: 7.922 kB / 0.5086 GB, free: 94.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.6284, allocations: 473.8 kB / 0.509 GB, free: 94.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.6302, allocations: 1.079 MB / 0.5101 GB, free: 94.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.6309, allocations: 0.6975 MB / 0.5108 GB, free: 94.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.631, allocations: 0 / 0.5108 GB, free: 94.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007625/0.6317, allocations: 0.7729 MB / 0.5115 GB, free: 94.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/0.6317, allocations: 0 / 0.5115 GB, free: 94.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002372/0.6341, allocations: 2.129 MB / 0.5136 GB, free: 93.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.6343, allocations: 332.3 kB / 0.5139 GB, free: 93.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.6362, allocations: 1.612 MB / 0.5155 GB, free: 92.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.735e-05/0.6363, allocations: 43.86 kB / 0.5155 GB, free: 92.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.6366, allocations: 231.5 kB / 0.5158 GB, free: 92.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.6367, allocations: 88.45 kB / 0.5159 GB, free: 92.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.6367, allocations: 10.41 kB / 0.5159 GB, free: 92.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6369, allocations: 390.5 kB / 0.5162 GB, free: 91.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.6374, allocations: 444.3 kB / 0.5167 GB, free: 91.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.638, allocations: 490.1 kB / 0.5171 GB, free: 91.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.6386, allocations: 0.5831 MB / 0.5177 GB, free: 91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6386, allocations: 0 / 0.5177 GB, free: 91 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001551/0.6401, allocations: 1.357 MB / 0.519 GB, free: 90.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.6403, allocations: 292 kB / 0.5193 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6403, allocations: 1.453 kB / 0.5193 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.6403, allocations: 7.688 kB / 0.5193 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.846e-05/0.6404, allocations: 3.281 kB / 0.5193 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6404, allocations: 3.625 kB / 0.5193 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.6408, allocations: 47.52 kB / 0.5194 GB, free: 90.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.641, allocations: 153.2 kB / 0.5195 GB, free: 90.09 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.001327/0.6424, allocations: 0.9913 MB / 0.5205 GB, free: 89.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.6426, allocations: 136.3 kB / 0.5206 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/0.643, allocations: 257.5 kB / 0.5208 GB, free: 89.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.643, allocations: 3.938 kB / 0.5209 GB, free: 89.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.643, allocations: 3.422 kB / 0.5209 GB, free: 89.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.643, allocations: 0 / 0.5209 GB, free: 89.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.6461, allocations: 2.415 MB / 0.5232 GB, free: 87.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6461, allocations: 4 kB / 0.5232 GB, free: 87.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.6461, allocations: 0 / 0.5232 GB, free: 87.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.6462, allocations: 4 kB / 0.5232 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/0.6462, allocations: 42.47 kB / 0.5233 GB, free: 87.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6463, allocations: 3.75 kB / 0.5233 GB, free: 87.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6463, allocations: 0 / 0.5233 GB, free: 87.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.6481, allocations: 1.633 MB / 0.5249 GB, free: 86.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.6495, allocations: 0.6773 MB / 0.5255 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.6497, allocations: 65.98 kB / 0.5256 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.65, allocations: 42.64 kB / 0.5256 GB, free: 85.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004795/0.6505, allocations: 345.2 kB / 0.526 GB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.6507, allocations: 162.7 kB / 0.5261 GB, free: 85.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001955/0.6527, allocations: 1.333 MB / 0.5274 GB, free: 83.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6527, allocations: 3.844 kB / 0.5274 GB, free: 83.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006548/0.6533, allocations: 152 kB / 0.5276 GB, free: 83.8 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.0002585/0.6536, allocations: 189.4 kB / 0.5277 GB, free: 83.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.6552, allocations: 1.936 MB / 0.5296 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6553, allocations: 0 / 0.5296 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.6563, allocations: 1.397 MB / 0.531 GB, free: 80.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.6575, allocations: 305.5 kB / 0.5313 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.6619, allocations: 3.098 MB / 0.5343 GB, free: 76.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.6631, allocations: 1.22 MB / 0.5355 GB, free: 75.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003595/0.6635, allocations: 161.8 kB / 0.5357 GB, free: 75.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.6635, allocations: 31.44 kB / 0.5357 GB, free: 75.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.021e-06/0.6636, allocations: 0 / 0.5357 GB, free: 75.25 MB / 378.7 MB Notification: Performance of Templates: time 0.0202/0.6838, allocations: 16.69 MB / 0.552 GB, free: 58.4 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches