Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001434, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.877/1.877, 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.00101/0.00101, allocations: 98.58 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004729, allocations: 19.98 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.397, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.5193, allocations: 82.46 MB / 458.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.5197, allocations: 71.97 kB / 458.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06206/0.5817, allocations: 31.09 MB / 489.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5818, allocations: 4 kB / 489.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.5818, allocations: 16 kB / 489.5 MB, free: 15.05 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.001898/0.5837, allocations: 1.497 MB / 490.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5838, allocations: 8.031 kB / 491 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.584, allocations: 130.4 kB / 491.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.5848, allocations: 0.5129 MB / 491.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.5849, allocations: 24 kB / 491.6 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/0.585, allocations: 31.94 kB / 491.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.586, allocations: 0.6422 MB / 492.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.586, allocations: 0 / 492.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/0.5861, allocations: 16 kB / 492.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5861, allocations: 7.938 kB / 492.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007085/0.5868, allocations: 463.7 kB / 492.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.5887, allocations: 1.08 MB / 493.8 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009351/0.5896, allocations: 0.7053 MB / 494.6 MB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.5897, allocations: 4.141 kB / 494.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.5908, allocations: 0.7693 MB / 495.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.805e-06/0.5908, allocations: 4 kB / 495.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003008/0.5938, allocations: 2.129 MB / 497.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/0.5941, allocations: 325 kB / 497.8 MB, free: 6.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.5967, allocations: 1.615 MB / 499.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.5968, allocations: 49.7 kB / 499.4 MB, free: 4.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.597, allocations: 226.5 kB / 499.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5971, allocations: 87 kB / 499.7 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.5972, allocations: 12 kB / 499.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.5974, allocations: 394.7 kB / 0.4884 GB, free: 3.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006654/0.5981, allocations: 443.9 kB / 0.4888 GB, free: 3.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.5988, allocations: 482.7 kB / 0.4893 GB, free: 2.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006809/0.5995, allocations: 0.5906 MB / 0.4899 GB, free: 2.324 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5995, allocations: 3.938 kB / 0.4899 GB, free: 2.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00194/0.6014, allocations: 1.353 MB / 0.4912 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.6017, allocations: 285.5 kB / 0.4915 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6017, allocations: 12.05 kB / 0.4915 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.6017, allocations: 7.891 kB / 0.4915 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.221e-05/0.6018, allocations: 7.938 kB / 0.4915 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6018, allocations: 0 / 0.4915 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.6022, allocations: 43.88 kB / 0.4916 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.6024, allocations: 159.9 kB / 0.4917 GB, free: 364 kB / 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.dFFREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.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.2485/0.8509, allocations: 0.9843 MB / 0.4927 GB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/0.8513, allocations: 131.7 kB / 0.4928 GB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.8525, allocations: 248 kB / 0.493 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.8525, allocations: 1.656 kB / 0.493 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.8525, allocations: 3.422 kB / 0.493 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.8526, allocations: 4.234 kB / 0.493 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.8569, allocations: 2.424 MB / 0.4954 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.8569, allocations: 1.375 kB / 0.4954 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.8569, allocations: 1.375 kB / 0.4954 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.8569, allocations: 0 / 0.4954 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/0.857, allocations: 40.17 kB / 0.4954 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.857, allocations: 0 / 0.4954 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.8571, allocations: 1.062 kB / 0.4954 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.8594, allocations: 1.637 MB / 0.497 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.8607, allocations: 0.6852 MB / 0.4977 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.8609, allocations: 59.91 kB / 0.4978 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.8612, allocations: 41.83 kB / 0.4978 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005515/0.8618, allocations: 354.1 kB / 0.4981 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/0.862, allocations: 156.9 kB / 0.4983 GB, free: 103.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002092/0.8641, allocations: 1.328 MB / 0.4996 GB, free: 103.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.8641, allocations: 0 / 0.4996 GB, free: 103.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006382/0.8648, allocations: 154.3 kB / 0.4997 GB, free: 103.3 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,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.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.0002695/0.8651, allocations: 192.3 kB / 0.4999 GB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.8671, allocations: 1.929 MB / 0.5018 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.8672, allocations: 2.078 kB / 0.5018 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.8682, allocations: 1.411 MB / 0.5032 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.8692, allocations: 297.2 kB / 0.5035 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.8729, allocations: 3.098 MB / 0.5065 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.8737, allocations: 1.223 MB / 0.5077 GB, free: 99.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.874, allocations: 186.6 kB / 0.5079 GB, free: 99.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.8741, allocations: 34.72 kB / 0.5079 GB, free: 99.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8741, allocations: 0 / 0.5079 GB, free: 99.38 MB / 378.7 MB Notification: Performance of Templates: time 0.02111/0.8952, allocations: 16.69 MB / 0.5242 GB, free: 89.33 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DFFREGSRH/DFFREGSRH.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches