Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.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.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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002163/0.002163, allocations: 175.9 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.386/3.386, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001246/0.001246, allocations: 91.12 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005621/0.0005627, allocations: 16 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5827/0.5833, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.7711, allocations: 82.29 MB / 458 MB, free: 14.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004862/0.7717, allocations: 75.95 kB / 458.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.12/0.8917, allocations: 37.51 MB / 495.6 MB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.311e-06/0.8918, allocations: 0 / 495.6 MB, free: 8.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.83e-05/0.8919, allocations: 8 kB / 495.6 MB, free: 8.742 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.002318/0.8942, allocations: 1.124 MB / 496.7 MB, free: 7.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000102/0.8943, allocations: 12.03 kB / 496.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.8946, allocations: 87.91 kB / 496.8 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.8956, allocations: 460 kB / 497.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.33e-05/0.8957, allocations: 20.31 kB / 497.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.8958, allocations: 28.36 kB / 497.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.8975, allocations: 0.5167 MB / 497.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.8975, allocations: 192 / 497.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.952e-05/0.8976, allocations: 15.94 kB / 497.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.8976, allocations: 4 kB / 497.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.8987, allocations: 364.1 kB / 498.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.9012, allocations: 0.8521 MB / 499.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.9024, allocations: 0.5217 MB / 499.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.9034, allocations: 0.4889 MB / 0.4884 GB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.9035, allocations: 0 / 0.4884 GB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.9048, allocations: 0.6547 MB / 0.489 GB, free: 3.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.805e-06/0.9049, allocations: 0 / 0.489 GB, free: 3.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.003708/0.9086, allocations: 1.554 MB / 0.4905 GB, free: 1.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002785/0.9089, allocations: 279.3 kB / 0.4908 GB, free: 1.434 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/0.9116, allocations: 1.168 MB / 0.4919 GB, free: 264 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.9117, allocations: 45.69 kB / 0.492 GB, free: 212 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.9119, allocations: 146 kB / 0.4921 GB, free: 60 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.4493/1.361, allocations: 69.59 kB / 0.4922 GB, free: 107.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.362, allocations: 10.59 kB / 0.4922 GB, free: 107.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003817/1.362, allocations: 341.2 kB / 0.4925 GB, free: 107.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/1.364, allocations: 349.7 kB / 0.4928 GB, free: 107.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/1.365, allocations: 383.1 kB / 0.4932 GB, free: 107.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/1.368, allocations: 0.9735 MB / 0.4942 GB, free: 107 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.368, allocations: 0 / 0.4942 GB, free: 107 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00348/1.371, allocations: 1.151 MB / 0.4953 GB, free: 106.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003963/1.372, allocations: 244.4 kB / 0.4955 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.372, allocations: 0.9062 kB / 0.4955 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.293e-05/1.372, allocations: 4.125 kB / 0.4955 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/1.372, allocations: 5.844 kB / 0.4955 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/1.372, allocations: 5.656 kB / 0.4955 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/1.373, allocations: 44.83 kB / 0.4956 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004869/1.373, allocations: 147.5 kB / 0.4957 GB, free: 106.5 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.002246/1.376, allocations: 0.7682 MB / 0.4965 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/1.376, allocations: 87.5 kB / 0.4965 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/1.377, allocations: 150.6 kB / 0.4967 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.377, allocations: 4.406 kB / 0.4967 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/1.377, allocations: 4.719 kB / 0.4967 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.377, allocations: 0 / 0.4967 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005283/1.382, allocations: 1.979 MB / 0.4986 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.382, allocations: 3.75 kB / 0.4986 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/1.382, allocations: 6.188 kB / 0.4986 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/1.382, allocations: 6.016 kB / 0.4986 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/1.382, allocations: 37.25 kB / 0.4987 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.382, allocations: 0 / 0.4987 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.382, allocations: 1.375 kB / 0.4987 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/1.386, allocations: 1.408 MB / 0.5001 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.388, allocations: 0.5625 MB / 0.5006 GB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/1.388, allocations: 65.64 kB / 0.5007 GB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/1.389, allocations: 33.08 kB / 0.5007 GB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008072/1.389, allocations: 239.7 kB / 0.5009 GB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004578/1.39, allocations: 158.6 kB / 0.5011 GB, free: 104.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003043/1.393, allocations: 0.867 MB / 0.5019 GB, free: 104.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.392e-06/1.393, allocations: 0 / 0.5019 GB, free: 104.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001081/1.394, allocations: 124.4 kB / 0.502 GB, free: 104.7 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.0005534/1.395, allocations: 188.1 kB / 0.5022 GB, free: 104.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00313/1.398, allocations: 1.513 MB / 0.5037 GB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.398, allocations: 2.078 kB / 0.5037 GB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001671/1.4, allocations: 1.118 MB / 0.5048 GB, free: 103 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/1.402, allocations: 289.9 kB / 0.5051 GB, free: 103 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/1.408, allocations: 2.241 MB / 0.5073 GB, free: 101.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/1.409, allocations: 1.027 MB / 0.5083 GB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/1.409, allocations: 15.06 kB / 0.5083 GB, free: 101.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.315e-06/1.409, allocations: 7.875 kB / 0.5083 GB, free: 101.1 MB / 378.7 MB Notification: Performance of Templates: time 0.02046/1.429, allocations: 8.16 MB / 0.5163 GB, free: 98.43 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches