Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001172, allocations: 96.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003197, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4103, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.575, allocations: 82.51 MB / 458.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.5753, allocations: 71.95 kB / 458.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06569/0.641, allocations: 32.65 MB / 491 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.125e-06/0.6411, allocations: 3.938 kB / 491 MB, free: 13.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.669e-05/0.6412, allocations: 16 kB / 491.1 MB, free: 13.43 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.002758/0.644, allocations: 1.504 MB / 492.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.644, allocations: 16.03 kB / 492.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.6443, allocations: 134.4 kB / 492.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009728/0.6453, allocations: 0.509 MB / 493.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.6453, allocations: 16 kB / 493.2 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.6454, allocations: 28 kB / 493.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.6466, allocations: 0.6344 MB / 493.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.6466, allocations: 0 / 493.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.6467, allocations: 23.94 kB / 493.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.6467, allocations: 0 / 493.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.6475, allocations: 471.7 kB / 494.4 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.6497, allocations: 1.088 MB / 495.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009392/0.6507, allocations: 0.7014 MB / 496.2 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.6507, allocations: 4 kB / 496.2 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.6518, allocations: 0.7692 MB / 496.9 MB, free: 7.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 3.106e-06/0.6518, allocations: 0 / 496.9 MB, free: 7.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003138/0.655, allocations: 2.137 MB / 499.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002389/0.6552, allocations: 321 kB / 499.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002735/0.658, allocations: 1.616 MB / 0.4893 GB, free: 3.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.6581, allocations: 41.7 kB / 0.4893 GB, free: 2.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.6584, allocations: 230.5 kB / 0.4895 GB, free: 2.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.6585, allocations: 90.98 kB / 0.4896 GB, free: 2.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.6586, allocations: 12 kB / 0.4896 GB, free: 2.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.6588, allocations: 382.7 kB / 0.49 GB, free: 2.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/0.6596, allocations: 447.9 kB / 0.4904 GB, free: 1.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.6603, allocations: 478.7 kB / 0.4909 GB, free: 1.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.661, allocations: 0.5947 MB / 0.4914 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.661, allocations: 0 / 0.4914 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.2793/0.9403, allocations: 1.359 MB / 0.4928 GB, free: 105.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004376/0.9408, allocations: 292.3 kB / 0.4931 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.9408, allocations: 2.156 kB / 0.4931 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.282e-05/0.9409, allocations: 5.391 kB / 0.4931 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.941, allocations: 5.469 kB / 0.4931 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.941, allocations: 1.25 kB / 0.4931 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009333/0.942, allocations: 50.23 kB / 0.4931 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006265/0.9426, allocations: 148.1 kB / 0.4933 GB, free: 105.3 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.003008/0.9456, allocations: 1 MB / 0.4942 GB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/0.9461, allocations: 128.2 kB / 0.4944 GB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.9473, allocations: 254.5 kB / 0.4946 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.9474, allocations: 2 kB / 0.4946 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.9474, allocations: 0 / 0.4946 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.9474, allocations: 1 kB / 0.4946 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006142/0.9535, allocations: 2.415 MB / 0.497 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.9536, allocations: 0 / 0.497 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.9537, allocations: 1.219 kB / 0.497 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/0.9537, allocations: 1.156 kB / 0.497 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.9538, allocations: 42.91 kB / 0.497 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.9538, allocations: 4.562 kB / 0.497 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.9538, allocations: 2.922 kB / 0.497 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.9569, allocations: 1.626 MB / 0.4986 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/0.9592, allocations: 0.6821 MB / 0.4993 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/0.9596, allocations: 64.33 kB / 0.4993 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.9601, allocations: 43.92 kB / 0.4994 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008371/0.9609, allocations: 354.1 kB / 0.4997 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003168/0.9613, allocations: 162.2 kB / 0.4999 GB, free: 103.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003336/0.9646, allocations: 1.334 MB / 0.5012 GB, free: 103 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.9646, allocations: 0 / 0.5012 GB, free: 103 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001158/0.9658, allocations: 148.5 kB / 0.5013 GB, free: 103 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.0003964/0.9662, allocations: 196.5 kB / 0.5015 GB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.9685, allocations: 1.939 MB / 0.5034 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9685, allocations: 0 / 0.5034 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.9697, allocations: 1.4 MB / 0.5048 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.9712, allocations: 304.7 kB / 0.505 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005719/0.9769, allocations: 3.095 MB / 0.5081 GB, free: 99.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.9781, allocations: 1.221 MB / 0.5093 GB, free: 98.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005575/0.9787, allocations: 151.3 kB / 0.5094 GB, free: 98.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.9788, allocations: 28.59 kB / 0.5094 GB, free: 98.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.695e-06/0.9788, allocations: 0 / 0.5094 GB, free: 98.79 MB / 378.7 MB Notification: Performance of Templates: time 0.02468/1.003, allocations: 16.69 MB / 0.5257 GB, free: 87.84 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DFFREGSRL/DFFREGSRL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches